Skip to content

Commit

Permalink
fix: test
Browse files Browse the repository at this point in the history
  • Loading branch information
pantasystem committed Aug 5, 2023
1 parent 8fe06b0 commit ffb3d1e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class APIErrorTest {

@Test
fun testClientError() {
Assertions.assertThrows(APIError.ForbiddenException::class.java) {
Assertions.assertThrows(APIError.AuthenticationException::class.java) {
runBlocking {
misskeyAPI.create(CreateNote("", text = null)).throwIfHasError()
}
Expand Down

0 comments on commit ffb3d1e

Please sign in to comment.