Skip to content
Snippets Groups Projects
Commit 70c9eec9 authored by Michał Bień's avatar Michał Bień
Browse files

Janitor tests part 3

parent 1631e55f
No related branches found
No related tags found
No related merge requests found
...@@ -96,5 +96,14 @@ func TestCertManagerServiceServer_DeleteIfExists(t *testing.T) { ...@@ -96,5 +96,14 @@ func TestCertManagerServiceServer_DeleteIfExists(t *testing.T) {
if err != nil || res.Status != v1.Status_OK { if err != nil || res.Status != v1.Status_OK {
t.Fail() t.Fail()
} }
}
func TestBasicAuthServiceServer_DeleteIfExists(t *testing.T) {
client := testclient.NewSimpleClientset()
server := NewBasicAuthServiceServer(client)
res, err := server.DeleteIfExists(context.Background(), &illegal_req)
if err == nil || res != nil {
t.Fail()
}
} }
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment