2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-17 20:45:44 +00:00
Files
InvenTree/InvenTree/company
Oliver d246169c93 Add unit test for deleting part which has pricing information (#3986)
* Add unit test for deleting part which has pricing information

* Test delete of part without pricing

* Deal with post_delete errors

1. Deleting a Part deleted related objects (e.g. InternalPriceBreak)
2. post_delete signal is called for InternalPriceBreak
3. Subsequent updates to Part / PartPricing throw error

* Add unit test for deleting a Part via the API

- Add InternalPriceBreak so the previous error condition is checked

* Fix for unit test

* More unit test fixes

(cherry picked from commit fa346257f5)

* Ensure unique part names for unit testing

* Further unit test fixes
2022-12-13 11:07:35 +11:00
..
2022-05-20 13:35:07 +02:00
2022-11-14 15:58:22 +11:00
2022-11-14 15:58:22 +11:00
2022-06-02 01:37:39 +10:00
2022-11-14 15:58:22 +11:00
2022-11-14 15:58:22 +11:00
2022-06-02 01:37:39 +10:00
2022-09-15 14:14:51 +10:00
2022-09-15 14:14:51 +10:00