MCPcopy Create free account
hub / github.com/cloudbase/garm / TestGithubBaseURL

Function TestGithubBaseURL

config/config_test.go:840–844  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

838}
839
840func TestGithubBaseURL(t *testing.T) {
841 cfg := getDefaultGithubConfig()
842
843 require.Equal(t, "https://github.com", cfg[0].BaseEndpoint())
844}
845
846func TestGithubBaseURLIsSet(t *testing.T) {
847 cfg := getDefaultGithubConfig()

Callers

nothing calls this directly

Calls 2

getDefaultGithubConfigFunction · 0.85
BaseEndpointMethod · 0.80

Tested by

no test coverage detected