浏览代码

auth: fix warning in test

Daniel Lee 8 年之前
父节点
当前提交
f45d637025
共有 1 个文件被更改,包括 4 次插入0 次删除
  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 ""
 }