Skip to content

Commit e802bf1

Browse files
committed
rollback test workaround leftovers
1 parent 0d8ba54 commit e802bf1

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

api/src/test/java/io/kafbat/ui/KafkaConnectServiceTests.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public class KafkaConnectServiceTests extends AbstractIntegrationTest {
4848
@BeforeEach
4949
public void setUp() {
5050

51-
ExchangeResult creationResult = webTestClient.post()
51+
webTestClient.post()
5252
.uri("/api/clusters/{clusterName}/connects/{connectName}/connectors", LOCAL, connectName)
5353
.bodyValue(new NewConnectorDTO()
5454
.name(connectorName)
@@ -59,9 +59,7 @@ public void setUp() {
5959
"file", "/tmp/test",
6060
"test.password", "test-credentials")))
6161
.exchange()
62-
.expectStatus().isOk()
63-
.expectBody()
64-
.returnResult();
62+
.expectStatus().isOk();
6563

6664
}
6765

0 commit comments

Comments
 (0)