Unverified Commit d0a2831e authored by Lars Lehtonen's avatar Lars Lehtonen Committed by GitHub
Browse files

builtin/logical/database: fix dropped test errors (#12123)

Showing with 6 additions and 0 deletions
+6 -0
......@@ -462,6 +462,9 @@ func TestBackend_StaticRole_Role_name_check(t *testing.T) {
}
resp, err = b.HandleRequest(namespace.RootContext(nil), req)
if err != nil {
t.Fatal(err)
}
if resp == nil || !resp.IsError() {
t.Fatalf("expected error, got none")
}
......@@ -505,6 +508,9 @@ func TestBackend_StaticRole_Role_name_check(t *testing.T) {
}
resp, err = b.HandleRequest(namespace.RootContext(nil), req)
if err != nil {
t.Fatal(err)
}
if resp == nil || !resp.IsError() {
t.Fatalf("expected error, got none")
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment