-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
47df706
commit 3d42c55
Showing
3 changed files
with
6 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,7 +32,7 @@ def test_create_delete_user | |
) | ||
assert_equal '[email protected]', user.email | ||
assert_equal 'cool', user.user_metadata[:example1] | ||
PassageClient.user.delete(user_id: user.id) | ||
deleted = PassageClient.user.delete(user_id: user.id) | ||
assert_equal true, deleted | ||
end | ||
|
||
|
@@ -79,7 +79,9 @@ def test_invalid_get_user_by_identifier | |
user = PassageClient.user.get(user_id: $global_test_user.id) | ||
assert_equal $global_test_user.id, user.id | ||
|
||
assert_raise Passage::PassageError PassageClient.user.get_by_identifier(user_identifier: '[email protected]') | ||
assert_raise Passage::PassageError do | ||
PassageClient.user.get_by_identifier(user_identifier: '[email protected]') | ||
end | ||
end | ||
|
||
def test_deactivate_user | ||
|