Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions tests/e2e/catalog/product/media/test_async_media.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@


@pytest.fixture
def async_media_service(async_mpt_vendor, product_id):
return async_mpt_vendor.catalog.products.media(product_id)
def async_media_service(async_mpt_vendor, async_created_product):
return async_mpt_vendor.catalog.products.media(async_created_product.id)


@pytest.fixture
def async_vendor_media_service(async_mpt_vendor, product_id):
return async_mpt_vendor.catalog.products.media(product_id)
def async_vendor_media_service(async_mpt_vendor, async_created_product):
return async_mpt_vendor.catalog.products.media(async_created_product.id)


@pytest.fixture
Expand Down
4 changes: 2 additions & 2 deletions tests/e2e/catalog/product/media/test_sync_media.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@


@pytest.fixture
def vendor_media_service(mpt_vendor, product_id):
return mpt_vendor.catalog.products.media(product_id)
def vendor_media_service(mpt_vendor, created_product):
return mpt_vendor.catalog.products.media(created_product.id)


@pytest.fixture
Expand Down
Loading