2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-15 03:25:42 +00:00

test plugin save action

This commit is contained in:
Matthias
2021-11-21 20:22:44 +01:00
parent 75a8b88a92
commit bafbebb634

View File

@ -96,3 +96,8 @@ class PluginDetailAPITest(InvenTreeAPITestCase):
'index': 0,
'_selected_action': [f.pk for f in fixtures],
}, expected_code=200)
# save to deactivate plugin
self.post(reverse('admin:plugin_pluginconfig_change', {'pk': fixtures[0].pk}), {
'_save': 'Save',
}, expected_code=200)