Browse Source

Fix database password extraction from environment variables in the tests settings.

master
Alexander Gaevsky 5 years ago
parent
commit
044509e82e
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      tests/settings.py

+ 1
- 1
tests/settings.py View File

14
                                  'django.db.backends.postgresql'),
14
                                  'django.db.backends.postgresql'),
15
         'NAME': os.environ.get('DATABASE_NAME', 'oscar'),
15
         'NAME': os.environ.get('DATABASE_NAME', 'oscar'),
16
         'USER': os.environ.get('DATABASE_USER', None),
16
         'USER': os.environ.get('DATABASE_USER', None),
17
-        'PASSWORD': os.environ.get('DATABASE_USER', None),
17
+        'PASSWORD': os.environ.get('DATABASE_PASSWORD', None),
18
     }
18
     }
19
 }
19
 }
20
 
20
 

Loading…
Cancel
Save