Skip to content

Commit

Permalink
replace literal by fixture
Browse files Browse the repository at this point in the history
  • Loading branch information
diitaz93 committed Jan 20, 2025
1 parent 5b28554 commit b001ba3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/fixture_plugins/orders_fixtures/store_fixtures.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,9 @@ def mip_dna_submit_store(


@pytest.fixture
def store_with_all_test_applications(store: Store, helpers: StoreHelpers) -> Store:
def store_with_all_test_applications(
store: Store, helpers: StoreHelpers, customer_id: str
) -> Store:
app_tags: dict[str, list[OrderType]] = {
"PANKTTR100": [OrderType.BALSAMIC],
"WGSPCFC030": [OrderType.FASTQ, OrderType.MIP_DNA],
Expand All @@ -92,7 +94,7 @@ def store_with_all_test_applications(store: Store, helpers: StoreHelpers) -> Sto
store=store, application_tag=tag
)
application_version.application.order_types = orders
customer: Customer = helpers.ensure_customer(store=store, customer_id="cust000")
customer: Customer = helpers.ensure_customer(store=store, customer_id=customer_id)
helpers.ensure_user(store=store, customer=customer)
helpers.ensure_panel(store=store, panel_abbreviation="AID")
helpers.ensure_panel(store=store, panel_abbreviation="Ataxi")
Expand Down

0 comments on commit b001ba3

Please sign in to comment.