mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
test plugin save action
This commit is contained in:
parent
75a8b88a92
commit
bafbebb634
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user