Skip to content

Commit

Permalink
Merge pull request #39 from prasidhanchan/v1.x
Browse files Browse the repository at this point in the history
fix(test): address issues in auth test
  • Loading branch information
prasidhanchan authored Oct 6, 2024
2 parents ed72876 + 78a9ffc commit 9d62590
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
3 changes: 0 additions & 3 deletions .idea/deploymentTargetSelector.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class AuthRepositoryTest {
password = "test123",
onSuccess = { },
onError = { error ->
assertThat(error).isEqualTo("Please enter your email.")
assertThat(error.message).isEqualTo("Please enter your email.")
}
)
}
Expand All @@ -58,7 +58,7 @@ class AuthRepositoryTest {
password = "",
onSuccess = { },
onError = { error ->
assertThat(error).isEqualTo("Please enter your password.")
assertThat(error.message).isEqualTo("Please enter your password.")
}
)
}
Expand All @@ -69,7 +69,7 @@ class AuthRepositoryTest {
email = "",
onSuccess = { },
onError = { error ->
assertThat(error).isEqualTo("Please enter your email.")
assertThat(error.message).isEqualTo("Please enter your email.")
}
)
}
Expand Down

0 comments on commit 9d62590

Please sign in to comment.