From 410c322761b0ea12391a56d587cd5cf634ade205 Mon Sep 17 00:00:00 2001
From: Michael Fladischer <fladi@debian.org>
Date: Fri, 25 Dec 2015 15:02:58 +0100
Subject: Add the recommended minimum MIDDLEWARE_CLASSES.

 This silences warnings while running the tests.
Forwarded: no
Last-Update: 2015-08-11
---
 celery_haystack/test_settings.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/celery_haystack/test_settings.py b/celery_haystack/test_settings.py
index def8536..b14c0d7 100644
--- a/celery_haystack/test_settings.py
+++ b/celery_haystack/test_settings.py
@@ -26,6 +26,10 @@ DATABASES = {
 
 SECRET_KEY = 'really-not-secret'
 
+MIDDLEWARE_CLASSES = (
+    'django.middleware.common.CommonMiddleware',
+)
+
 BROKER_TRANSPORT = "memory"
 CELERY_ALWAYS_EAGER = True
 CELERY_IGNORE_RESULT = True
