MCPcopy Create free account
hub / github.com/coder/envbuilder / TestCloneFailsFallback

Function TestCloneFailsFallback

integration/integration_test.go:1054–1063  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

1052}
1053
1054func TestCloneFailsFallback(t *testing.T) {
1055 t.Parallel()
1056 t.Run("BadRepo", func(t *testing.T) {
1057 t.Parallel()
1058 _, err := runEnvbuilder(t, runOpts{env: []string{
1059 envbuilderEnv("GIT_URL", "bad-value"),
1060 }})
1061 require.ErrorContains(t, err, envbuilder.ErrNoFallbackImage.Error())
1062 })
1063}
1064
1065func TestBuildFailsFallback(t *testing.T) {
1066 t.Parallel()

Callers

nothing calls this directly

Calls 3

runEnvbuilderFunction · 0.85
envbuilderEnvFunction · 0.85
ErrorMethod · 0.80

Tested by

no test coverage detected