Skip to content

Commit 957f11e

Browse files
committed
NRL-1933 fix integration test steps for v2 producer create
1 parent 44b9cd3 commit 957f11e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/features/steps/2_request.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def consumer_read_document_reference_step(
7878

7979
@when("producer {version} '{ods_code}' creates a DocumentReference with values")
8080
def create_post_document_reference_step(context: Context, version: str, ods_code: str):
81-
client = producer_client_from_context(context, ods_code, v2=(version == "v2"))
81+
client = producer_client_from_context(context, ods_code, use_v2=(version == "v2"))
8282

8383
if not context.table:
8484
raise ValueError("No document reference data table provided")

0 commit comments

Comments
 (0)