Application fully migrated to modular approach
This commit is contained in:
@@ -195,7 +195,7 @@ def test_stock(db, test_product, test_shop):
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def test_marketplace_job(db, test_shop): # Add test_shop dependency
|
||||
def test_marketplace_job(db, test_shop, test_user): # Add test_shop dependency
|
||||
"""Create a test marketplace import job"""
|
||||
job = MarketplaceImportJob(
|
||||
marketplace="amazon",
|
||||
@@ -203,6 +203,7 @@ def test_marketplace_job(db, test_shop): # Add test_shop dependency
|
||||
status="completed",
|
||||
source_url="https://test-marketplace.example.com/import",
|
||||
shop_id=test_shop.id, # Add required shop_id
|
||||
user_id=test_user.id,
|
||||
imported_count=5,
|
||||
updated_count=3,
|
||||
total_processed=8,
|
||||
|
||||
Reference in New Issue
Block a user