Skip to content

Commit

Permalink
Fix failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rorbech committed Aug 6, 2024
1 parent 4a7c2f1 commit 8e4c2dd
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 @@ -2358,7 +2358,7 @@ actual object RealmInterop {
}

actual fun realm_app_switch_user(app: RealmAppPointer, user: RealmUserPointer) {
realm_wrapper.realm_app_switch_user(app.cptr(), user.cptr())
checkedBooleanResult(realm_wrapper.realm_app_switch_user(app.cptr(), user.cptr()))
}

actual fun realm_clear_cached_apps() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1020,7 +1020,7 @@ class FunctionsTests {
runBlocking {
anonUser.logOut()
}
assertFailsWithMessage<ServiceException>("[Service][Unknown(4351)] unauthorized") {
assertFailsWithMessage<ServiceException>("unauthorized") {
runBlocking {
functions.call(FIRST_ARG_FUNCTION.name, 1, 2, 3)
}
Expand Down

0 comments on commit 8e4c2dd

Please sign in to comment.