Skip to content

Commit eb8b244

Browse files
committed
fix: add cleanup for observation_period in teardown
1 parent c39b7fa commit eb8b244

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/data_generator/datagenerator_test.go

+1
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ func tearDown() {
5656
log.Println("teardown for test")
5757
// cleanup all tables:
5858
tests.EmptyTable(tests.GetOmopDataSourceForSourceId(tests.GetTestSourceId()), "observation")
59+
tests.EmptyTable(tests.GetOmopDataSourceForSourceId(tests.GetTestSourceId()), "observation_period")
5960
tests.EmptyTable(tests.GetOmopDataSourceForSourceId(tests.GetTestSourceId()), "concept")
6061
tests.EmptyTable(tests.GetOmopDataSourceForSourceId(tests.GetTestSourceId()), "person")
6162
tests.EmptyTable(tests.GetResultsDataSourceForSourceId(tests.GetTestSourceId()), "cohort")

0 commit comments

Comments
 (0)