Skip to content

Commit

Permalink
Fix for unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
SchrodingersGat committed Oct 2, 2024
1 parent 46850c3 commit d784ecc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/backend/InvenTree/plugin/base/ui/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,9 @@ def test_panels(self):
self.assertNotIn('content', response.data[1])

self.assertEqual(response.data[2]['name'], 'dynamic_panel')
self.assertEqual(response.data[2]['source'], '/static/plugin/sample_panel.js')
self.assertEqual(
response.data[2]['source'], '/static/plugins/sampleui/sample_panel.js'
)
self.assertNotIn('content', response.data[2])

# Next, disable the global setting for UI integration
Expand Down

0 comments on commit d784ecc

Please sign in to comment.