From c893b81314e210f1fdfaaf397bf7ef7c9f9c025c Mon Sep 17 00:00:00 2001 From: Matthias Date: Wed, 2 Mar 2022 23:34:44 +0100 Subject: [PATCH] remove the wrong setting --- InvenTree/InvenTree/tests.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/InvenTree/InvenTree/tests.py b/InvenTree/InvenTree/tests.py index 53e8bdb618..46f23578ba 100644 --- a/InvenTree/InvenTree/tests.py +++ b/InvenTree/InvenTree/tests.py @@ -451,13 +451,5 @@ class TestSettings(TestCase): self.run_reload() self.assertEqual(user_count(), 1) - # double adding should not work - self.env.set('INVENTREE_ADMIN_USER', 'admin') # set username - self.env.set('INVENTREE_ADMIN_EMAIL', 'info@example.com') # set email - self.env.set('INVENTREE_ADMIN_PASSWORD', 'password123') # set password - with self.assertRaises(IntegrationPluginError): - self.run_reload() - self.assertEqual(user_count(), 1) - # make sure to clean up settings.TESTING_ENV = False