2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-19 21:45:39 +00:00

Add unit testing for new API features

This commit is contained in:
Oliver Walters
2020-05-17 14:14:54 +10:00
parent 4d992ea528
commit 95d07cd02b
3 changed files with 73 additions and 3 deletions

View File

@ -106,6 +106,7 @@
name: 'Chair Template'
description: 'A chair'
is_template: True
trackable: true
category: 7
tree_id: 1
level: 0
@ -117,6 +118,7 @@
fields:
name: 'Blue Chair'
variant_of: 10000
trackable: true
category: 7
tree_id: 1
level: 0
@ -128,6 +130,7 @@
fields:
name: 'Red chair'
variant_of: 10000
trackable: true
category: 7
tree_id: 1
level: 0
@ -140,6 +143,7 @@
name: 'Green chair'
variant_of: 10000
category: 7
trackable: true
tree_id: 1
level: 0
lft: 0
@ -150,7 +154,8 @@
fields:
name: 'Green chair variant'
variant_of: 10003
category:
category: 7
trackable: true
tree_id: 1
level: 0
lft: 0