Skip to content

Commit fc6c56a

Browse files
committed
I'm not more a teapot
1 parent 85f9ab8 commit fc6c56a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/kotlin/org/learning/by/example/reactive/kotlin/microservices/KotlinReactiveMS/handlers/ThrowableTranslatorTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ private class ThrowableTranslatorTest : BasicIntegrationTest() {
2525
private var <T : Throwable> T.httpStatus: HttpStatus
2626
get() = Mono.just(this).transform(Translate::throwable).map { it.httpStatus }.block()
2727
set(value) {
28-
this.httpStatus = HttpStatus.I_AM_A_TEAPOT
28+
this.httpStatus = value
2929
}
3030

3131
private infix fun Throwable.`should translate to`(theStatus: HttpStatus) {

0 commit comments

Comments
 (0)