2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-11 15:34:15 +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:
Matthias Mair
2023-01-24 23:41:20 +01:00
committed by GitHub
parent 428e939b1d
commit af0bc90e48
5 changed files with 45 additions and 31 deletions

View File

@ -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