diff --git a/src/test/groovy/space/kklochko/jpa_hospital_example/db/repositories/IndicatorRepositorySpec.groovy b/src/test/groovy/space/kklochko/jpa_hospital_example/db/repositories/IndicatorRepositorySpec.groovy index bd37aa5..e16a676 100644 --- a/src/test/groovy/space/kklochko/jpa_hospital_example/db/repositories/IndicatorRepositorySpec.groovy +++ b/src/test/groovy/space/kklochko/jpa_hospital_example/db/repositories/IndicatorRepositorySpec.groovy @@ -6,7 +6,6 @@ import space.kklochko.jpa_hospital_example.config.factories.LoadDataBaseConfigFr import space.kklochko.jpa_hospital_example.config.models.DataBaseConfig import space.kklochko.jpa_hospital_example.db.factories.DataBaseConnection import space.kklochko.jpa_hospital_example.db.factories.EntityManagerConnection -import space.kklochko.jpa_hospital_example.db.repositories.blocks.TransactionalClearTable import space.kklochko.jpa_hospital_example.models.Indicator import spock.lang.Shared import spock.lang.Specification @@ -44,8 +43,7 @@ class IndicatorRepositorySpec extends Specification { } def cleanupSpec() { - //sql.execute("delete from indicators") - (new TransactionalClearTable()).run(manager, "Indicator") + sql.execute("delete from indicators") } def "Read one indicator"() {