Skip to content

Commit 4bd2f4d

Browse files
authored
Fix broken test fixture
1 parent 94d8ea0 commit 4bd2f4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projects/iuod_artificial_data_generator/tests/scraper_pipelines_tests/hes/demographic_field_summarisers_tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def long_format_df_fixture():
9292
*[["table1", "field4", f"patient{k}", "DEMOGRAPHIC_DATE", None, datetime(2022, 1, 1) + timedelta(days=random.randint(1, 100))] for k in range(21, 24) for _ in range(50)],
9393
],
9494
]
95-
schema = f"TABLE_NAME: string, FIELD_NAME: string, {HES_PATIENT_KEY}: string, VALUE_TYPE: string, VALUE_DATE: date"
95+
schema = f"TABLE_NAME: string, FIELD_NAME: string, {HES_PATIENT_KEY}: string, VALUE_TYPE: string, VALUE_STRING: string, VALUE_DATE: date"
9696
frequency_long_df = spark.createDataFrame(frequency_field_data, schema)
9797

9898
# Format dates as strings

0 commit comments

Comments
 (0)