mirror of
https://github.com/project-zot/zot.git
synced 2025-02-03 23:09:41 -05:00
16 lines
299 B
Go
16 lines
299 B
Go
|
package auth_test
|
||
|
|
||
|
import (
|
||
|
"testing"
|
||
|
|
||
|
. "github.com/smartystreets/goconvey/convey"
|
||
|
|
||
|
auth "zotregistry.io/zot/pkg/test/auth"
|
||
|
)
|
||
|
|
||
|
func TestBearerServer(t *testing.T) {
|
||
|
Convey("test MakeAuthTestServer() no serve key", t, func() {
|
||
|
So(func() { auth.MakeAuthTestServer("", "") }, ShouldPanic)
|
||
|
})
|
||
|
}
|