From 11a280831586fd104a26562fdc273a0a14f447af Mon Sep 17 00:00:00 2001 From: Alexander Dinauer Date: Thu, 25 Jan 2024 05:51:41 +0100 Subject: [PATCH] force test failure --- .../src/test/kotlin/io/sentry/systemtest/PersonSystemTest.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sentry-samples/sentry-samples-spring-boot/src/test/kotlin/io/sentry/systemtest/PersonSystemTest.kt b/sentry-samples/sentry-samples-spring-boot/src/test/kotlin/io/sentry/systemtest/PersonSystemTest.kt index dfa3a599fd..e5585d8be2 100644 --- a/sentry-samples/sentry-samples-spring-boot/src/test/kotlin/io/sentry/systemtest/PersonSystemTest.kt +++ b/sentry-samples/sentry-samples-spring-boot/src/test/kotlin/io/sentry/systemtest/PersonSystemTest.kt @@ -22,7 +22,7 @@ class PersonSystemTest { val restClient = testHelper.restClient restClient.getPerson(1L) - assertEquals(HttpStatus.INTERNAL_SERVER_ERROR, restClient.lastKnownStatusCode) + assertEquals(HttpStatus.BAD_REQUEST, restClient.lastKnownStatusCode) testHelper.ensureEnvelopeCountIncreased() } @@ -32,7 +32,7 @@ class PersonSystemTest { val restClient = testHelper.restClient val person = Person("firstA", "lastB") val returnedPerson = restClient.createPerson(person) - assertEquals(HttpStatus.OK, restClient.lastKnownStatusCode) + assertEquals(HttpStatus.NOT_FOUND, restClient.lastKnownStatusCode) assertEquals(person.firstName, returnedPerson!!.firstName) assertEquals(person.lastName, returnedPerson!!.lastName)