Fix profile test
This commit is contained in:
parent
6b03d05779
commit
aba0342410
1 changed files with 2 additions and 2 deletions
|
|
@ -114,8 +114,8 @@ func TestGetProfileErrorSuspended(t *testing.T) {
|
||||||
if err == nil {
|
if err == nil {
|
||||||
t.Error("Expected Error, got success")
|
t.Error("Expected Error, got success")
|
||||||
} else {
|
} else {
|
||||||
if err.Error() != "_Missing: User not found." {
|
if err.Error() != "Authorization: User has been suspended. (63)" {
|
||||||
t.Errorf("Expected error '_Missing: User not found.', got '%s'", err)
|
t.Errorf("Expected error 'Authorization: User has been suspended. (63)', got '%s'", err)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue