Fix profile test

This commit is contained in:
Alexander Sheiko 2021-10-18 23:33:57 +03:00
parent 6b03d05779
commit aba0342410

View file

@ -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)
} }
} }
} }