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

Function TestGithubAPIEndpoint

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

Source from the content-addressed store, hash-verified

812}
813
814func TestGithubAPIEndpoint(t *testing.T) {
815 cfg := getDefaultGithubConfig()
816
817 require.Equal(t, "https://api.github.com/", cfg[0].APIEndpoint())
818}
819
820func TestGithubAPIEndpointIsSet(t *testing.T) {
821 cfg := getDefaultGithubConfig()

Callers

nothing calls this directly

Calls 2

getDefaultGithubConfigFunction · 0.85
APIEndpointMethod · 0.80

Tested by

no test coverage detected