mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-01-06 07:38:43 +00:00
81b74025d4
Co-authored-by: Robert Kaussow <mail@thegeeklab.de>
14 lines
269 B
Go
14 lines
269 B
Go
package main
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/stretchr/testify/assert"
|
|
|
|
"go.woodpecker-ci.org/woodpecker/v3/cmd/server/openapi"
|
|
)
|
|
|
|
func TestSetupOpenApiStaticConfig(t *testing.T) {
|
|
setupOpenAPIStaticConfig()
|
|
assert.Equal(t, "/api", openapi.SwaggerInfo.BasePath)
|
|
}
|