mirror of
https://github.com/inventree/InvenTree.git
synced 2026-11-21 15:35:16 +00:00
[BUG] Plugin Schedule do not update when beeing changed + plugin testing (#4243)
* Add test for api_call * Add coverage for LocateMixin * no cov for no url * make sure changed details get updated * restructure code * Test that changes in schedules are reflected Fixes #4239
This commit is contained in:
1 parent
428e939b1d
commit
af0bc90e48
5 files changed
+45
-31
No files matched your search
@@ -55,7 +55,7 @@ class InvenTreeInternalBarcodePlugin(BarcodeMixin, InvenTreePlugin):
|
||||
url = instance.get_absolute_url()
|
||||
data['web_url'] = url
|
||||
else:
|
||||
url = None
|
||||
url = None # pragma: no cover
|
||||
|
||||
response = {
|
||||
label: data
|
||||
|
||||
Reference in new issue
Block a user