Skip to content

Commit aeacf51

Browse files
committed
changed test to reflect changes accordingly
1 parent 18b1fe8 commit aeacf51

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/test/kotlin/TestServer.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ object TestServer {
166166
route("again") {
167167
tag(TestServer.Tags.EXAMPLE) {
168168

169-
throws(HttpStatusCode.BadRequest, "example", CustomException::class) {
169+
route("exception").throws(HttpStatusCode.ExpectationFailed, "example", CustomException::class) {
170170
get<StringParam, StringResponse>(
171171
info("String Param Endpoint", "This is a String Param Endpoint"),
172172
example = StringResponse("Hi")

0 commit comments

Comments
 (0)