shop product refactoring
This commit is contained in:
6
tests/fixtures/testing_fixtures.py
vendored
6
tests/fixtures/testing_fixtures.py
vendored
@@ -21,11 +21,11 @@ def empty_db(db):
|
||||
# Clear only the tables that are relevant for admin service testing
|
||||
# In order to respect foreign key constraints
|
||||
tables_to_clear = [
|
||||
"marketplace_import_jobs", # Has foreign keys to shops and users
|
||||
"products", # Has foreign keys to shops and products
|
||||
"marketplace_import_jobs", # Has foreign keys to vendors and users
|
||||
"products", # Has foreign keys to vendors and products
|
||||
"stock", # Fixed: singular not plural
|
||||
"products", # Referenced by products
|
||||
"shops", # Has foreign key to users
|
||||
"vendors", # Has foreign key to users
|
||||
"users" # Base table
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user