Browse Source

auth: fix warning in test

Daniel Lee 8 years ago
parent
commit
f45d637025
1 changed files with 4 additions and 0 deletions
  1. 4 0
      pkg/middleware/auth_proxy_test.go

+ 4 - 0
pkg/middleware/auth_proxy_test.go

@@ -90,6 +90,10 @@ func (s *mockSession) Get(k interface{}) interface{} {
 	return s.value
 }
 
+func (s *mockSession) Delete(k interface{}) interface{} {
+	return nil
+}
+
 func (s *mockSession) ID() string {
 	return ""
 }