fix(mgmt): skip bearer authn for mgmt route (#1267)

Signed-off-by: Petu Eusebiu <peusebiu@cisco.com>
This commit is contained in:
peusebiu
2023-03-16 21:02:59 +02:00
committed by GitHub
parent 150ee88945
commit 4d0bbf1e00
5 changed files with 269 additions and 85 deletions
+6
View File
@@ -1336,3 +1336,9 @@ func TestWriteImageToFileSystem(t *testing.T) {
So(err, ShouldNotBeNil)
})
}
func TestBearerServer(t *testing.T) {
Convey("test MakeAuthTestServer() no serve key", t, func() {
So(func() { test.MakeAuthTestServer("", "") }, ShouldPanic)
})
}