Update test to reflect the correct read response

This commit is contained in:
Brian Kassouf 2017-04-24 21:24:19 -07:00
parent e4e61ec18c
commit b52b410a47
1 changed files with 2 additions and 2 deletions

View File

@ -1198,7 +1198,7 @@ func TestSystemBackend_PluginCatalog_CRUD(t *testing.T) {
req = logical.TestRequest(t, logical.ReadOperation, "plugins/catalog/test-plugin")
resp, err = b.HandleRequest(req)
if err == nil {
t.Fatalf("expected error, plugin not deleted correctly")
if resp != nil || err != nil {
t.Fatalf("expected nil response, plugin not deleted correctly got resp: %v, err: %v", resp, err)
}
}