File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
it/src/test/scala/integration
src/test/scala/integration Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -83,6 +83,6 @@ class LoadExampleIntSpec extends KafkaSpecBase[IO] {
8383 private def withKafkaContext (test : TestContext [IO ] => IO [Assertion ]): IO [Assertion ] = {
8484 object testContext extends TestContext [IO ]
8585 import testContext .*
86- embeddedKafka.use(_ => test(testContext))
86+ embeddedKafka.surround( test(testContext))
8787 }
8888}
Original file line number Diff line number Diff line change @@ -221,6 +221,6 @@ class TopicLoaderIntSpec extends KafkaSpecBase[IO] {
221221 private def withKafkaContext (test : TestContext [IO ] => IO [Assertion ]): IO [Assertion ] = {
222222 object testContext extends TestContext [IO ]
223223 import testContext .*
224- embeddedKafka.use(_ => test(testContext))
224+ embeddedKafka.surround( test(testContext))
225225 }
226226}
You can’t perform that action at this time.
0 commit comments