Skip to content

Commit

Permalink
πŸ”₯ : remove hasSize assertion
Browse files Browse the repository at this point in the history
this assertion somehows breaks type inference for kotlin, so removing it
as it is redundant with containerExactly assertion
  • Loading branch information
juwit committed Aug 5, 2022
1 parent 2e4e1fd commit f82b44f
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ class AuthenticationRestControllerTest {
assertThat(providers)
.isNotNull
.isNotEmpty
.hasSize(3)
.containsExactlyInAnyOrder("client_1", "client_2", "client_3")
}

Expand Down

0 comments on commit f82b44f

Please sign in to comment.