2
0
mirror of https://github.com/inventree/InvenTree.git synced 2026-05-17 14:58:36 +00:00
Commit Graph

33 Commits

Author SHA1 Message Date
Oliver Walters f9a0bf822e Add more fixture data
- Stock items for part 100 (Bob)
2022-04-02 09:54:55 +11:00
Oliver bff9f0828a Adds API endpoint to allocate stock items against a SalesOrder
- SalesOrderAllocations are no longer created manually
- API endpoint performs data validation
- Multiple line items can be allocated at once
- Adds unit testing for new API endpoint
2021-10-26 23:51:36 +11:00
Oliver 75a35773c6 More unit tests 2021-10-04 20:44:15 +11:00
Oliver 979ef674d6 Update data for unit test fixtures 2021-06-22 13:24:03 +10:00
matmair 3f04a57452 added test for internal prices 2021-06-13 15:01:03 +02:00
matmair 3fb95bea7e added test for sell price breaks 2021-06-13 13:31:31 +02:00
matmair d5b65e6e41 yaml! 2021-05-06 14:38:13 +02:00
Oliver Walters 8a06eaa40d Unit testing 2021-04-11 19:28:39 +10:00
Oliver Walters da02ab3eac Add unit testing for view 2021-01-05 00:01:44 +11:00
Oliver Walters d1ce0f062e Improve unit testing for StockItem API 2021-01-04 01:22:43 +11:00
Oliver Walters 47cbf3071d Add option to add a single-quantity price-break when creating a new SupplierPart object
- Add unit testing!
2020-11-12 21:36:32 +11:00
eeintech e401bb8e3c Improved tests, fixed admin, improved naming 2020-11-04 12:06:07 -05:00
Francois b1885138de Merge branch 'master' into categories_parameters 2020-11-03 07:01:56 -05:00
Oliver Walters 2b91f69c7d Fix unit tests 2020-11-03 20:19:24 +11:00
eeintech 13a07be728 Added PartCategoryParameterTemplate tests 2020-11-02 15:35:54 -05:00
Oliver Walters 911727f7b7 Update test fixtures
- Can't assume that pk values will be assigned sensibly!
- Need to hard-code them in
2020-09-02 19:47:07 +10:00
Oliver Walters 95d07cd02b Add unit testing for new API features 2020-05-17 14:14:54 +10:00
Oliver Walters badf9230a9 Add fixtures / unit testing for the stock item testing framework 2020-05-17 13:46:19 +10:00
Oliver Walters 2d6c531fda Unit testing for part variant MPTT 2020-05-15 22:01:21 +10:00
Oliver Walters 0652579312 Update fixture for part model to match MPTT requirements 2020-05-15 21:44:25 +10:00
Oliver Walters 789712acbe Rename Build.URL -> Build.link 2020-04-06 11:28:35 +10:00
Oliver Walters e4fc44c135 More test 2019-09-08 20:36:51 +10:00
Oliver Walters 2a203be5cc Tests for part parameters 2019-09-08 20:18:21 +10:00
Oliver Walters dac61eafa2 Fixed tests
- Tree classes now need extra configuration in the fixture
- Check for null pk when cleaning a tree node
2019-09-08 19:41:54 +10:00
Oliver Walters 43967e302b Add ablity to serialize an existing quantity of stock
- Do not have to serialize all the stock
- Add tests
- Add function to copy entire stock transaction history
2019-08-28 21:12:16 +10:00
Oliver Walters bd61c89094 Tests for stock app views 2019-08-09 20:13:23 +10:00
Oliver Walters ba26acd487 Rename some fields
- Oops didn't think that through, gotta go through and fix the data now...
2019-06-02 19:46:30 +10:00
Oliver Walters f410957d8d Refactored Stock test to use fixtures 2019-05-12 21:46:38 +10:00
Oliver Walters fcc83ca7c7 Part API test suite now uses test data fixtures 2019-05-05 00:15:25 +10:00
Oliver Walters c0e3007e4f Add some BomItem tests
- Add a bom fixture
2019-05-04 23:50:24 +10:00
Oliver Walters 1f80e8c655 More tests for Part
- barcode
- category_path
2019-05-04 23:35:52 +10:00
Oliver Walters ab6673caa3 Add tests for default location traversal 2019-05-04 23:20:59 +10:00
Oliver Walters 6d803d48b5 Add fixtures to the part test
- Make development of further tests much easier
2019-05-04 22:58:55 +10:00