From 70c9eec953435f19a61810a3766255a2d4a1714c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Micha=C5=82=20Bie=C5=84?= <michal1.bien@gmail.com>
Date: Thu, 4 Apr 2019 14:15:46 +0200
Subject: [PATCH] Janitor tests part 3

---
 pkg/service/v1/config-service_test.go | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/pkg/service/v1/config-service_test.go b/pkg/service/v1/config-service_test.go
index 7b40e51..e116d0c 100644
--- a/pkg/service/v1/config-service_test.go
+++ b/pkg/service/v1/config-service_test.go
@@ -96,5 +96,14 @@ func TestCertManagerServiceServer_DeleteIfExists(t *testing.T) {
 	if err != nil || res.Status != v1.Status_OK {
 		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
-- 
GitLab