1
0
mirror of https://github.com/aclindsa/moneygo.git synced 2025-07-02 20:28:38 -04:00

testing: Add session deletion test

This commit is contained in:
2017-10-11 05:49:41 -04:00
parent e781e9861b
commit 52ee17dae8
2 changed files with 41 additions and 3 deletions

View File

@ -162,7 +162,7 @@ func TestDeleteSecurity(t *testing.T) {
t.Fatalf("Expected error fetching deleted security")
}
if herr, ok := err.(*handlers.Error); ok {
if herr.ErrorId != 3 {
if herr.ErrorId != 3 { // Invalid requeset
t.Fatalf("Unexpected API error fetching deleted security: %s", herr)
}
} else {