0
Fork 0
mirror of https://github.com/project-zot/zot.git synced 2024-12-16 21:56:37 -05:00
zot/swagger/docs_test.go
Lisca Ana-Roberta 622dde9193
fix: referrers now appears in swagger generated docs (#1488)
Signed-off-by: Lisca Ana-Roberta <ana.kagome@yahoo.com>
2023-06-12 10:32:11 -07:00

16 lines
255 B
Go

package swagger_test
import (
"testing"
. "github.com/smartystreets/goconvey/convey"
"zotregistry.io/zot/swagger"
)
func TestDocs(t *testing.T) {
Convey("Read docs", t, func() {
s := swagger.SwaggerInfo
So(s.ReadDoc(), ShouldNotBeEmpty)
})
}