Skip to content

Commit

Permalink
Reenabled test ensuring that 400 status example with no request examp…
Browse files Browse the repository at this point in the history
…le is ignored
  • Loading branch information
joelrosario committed Sep 19, 2024
1 parent ca5c63a commit 3004841
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8131,7 +8131,6 @@ paths:
assertThat(results.success()).withFailMessage(results.report()).isTrue()
}

@Disabled("With this implementation, all the response examples will be taken into consideration. Where does this test stand then?")
@Test
fun `400 status named response examples with no corresponding named request example should be ignored`() {
val feature = OpenApiSpecification.fromYAML(
Expand Down Expand Up @@ -8170,7 +8169,7 @@ paths:
}
})

assertThat(results.testCount).isEqualTo(2)
assertThat(results.testCount).isEqualTo(1)
assertThat(results.success()).isTrue()
}

Expand Down

0 comments on commit 3004841

Please sign in to comment.