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:
@ -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 {
|
||||
|
Reference in New Issue
Block a user