Skip to content

Commit

Permalink
Add unit tests for APIProxyKey
Browse files Browse the repository at this point in the history
  • Loading branch information
t-burch committed Jul 5, 2024
1 parent 66598eb commit 813c63c
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,6 @@ void getSwaggerUIWrongId() throws Exception {

@Test
void noRewriterSetSpecRewritesTest() {
assertThrows(NullPointerException.class, () -> getRewrite().getPort());
interceptor.setSpecRewrites(rule);
Rewrite rewrite = getRewrite();
assertEquals(2000, rewrite.getPort());
Expand Down

0 comments on commit 813c63c

Please sign in to comment.