Skip to content

Commit

Permalink
fix the ci issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
brotherlu-xcq committed Apr 28, 2022
1 parent 14ee2de commit faa350b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class MessageBodyReaderAdapterTest {
void testBasic() {
assertThrows(NullPointerException.class, () -> new MessageBodyWriterAdapter<>(null));
MessageBodyReaderAdapter<?> adapter = new MessageBodyReaderAdapter<>(mock(Providers.class));
assertEquals(Ordered.LOWEST_PRECEDENCE, adapter.getOrder());
assertEquals(90, adapter.getOrder());
assertTrue(adapter.supports(mock(Param.class)));
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ void testWriteTo() throws Throwable {

final Providers providers = mock(Providers.class);
final MessageBodyWriterAdapter<?> adapter = new MessageBodyWriterAdapter<>(providers);
assertEquals(Ordered.LOWEST_PRECEDENCE, adapter.getOrder());
assertEquals(90, adapter.getOrder());

final HttpResponse response = mock(HttpResponse.class);
final ResponseEntity entity = mock(ResponseEntity.class);
Expand Down

0 comments on commit faa350b

Please sign in to comment.