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

Function TestGithubBaseURLIsSet

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

Source from the content-addressed store, hash-verified

844}
845
846func TestGithubBaseURLIsSet(t *testing.T) {
847 cfg := getDefaultGithubConfig()
848 cfg[0].BaseURL = "https://github.example.com"
849
850 require.Equal(t, "https://github.example.com", cfg[0].BaseEndpoint())
851}
852
853func TestCACertBundle(t *testing.T) {
854 cfg := Github{

Callers

nothing calls this directly

Calls 2

getDefaultGithubConfigFunction · 0.85
BaseEndpointMethod · 0.80

Tested by

no test coverage detected