Skip to content

Commit 822c510

Browse files
committed
Surround
1 parent 55e77c4 commit 822c510

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

it/src/test/scala/integration/LoadExampleIntSpec.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
}

src/test/scala/integration/TopicLoaderIntSpec.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)