diff --git a/InvenTree/plugin/test_api.py b/InvenTree/plugin/test_api.py index 2a3f7531ff..9bd35f9555 100644 --- a/InvenTree/plugin/test_api.py +++ b/InvenTree/plugin/test_api.py @@ -75,8 +75,7 @@ class PluginDetailAPITest(InvenTreeAPITestCase): fixtures = PluginConfig.objects.all() print([str(a) for a in fixtures]) - fixtures = fixtures.first() - + fixtures = fixtures[0:1] # deactivate plugin self.post(url, { 'action': 'plugin_deactivate',