MCPcopy
hub / github.com/vouch/vouch-proxy / assertURLCalled

Function assertURLCalled

pkg/providers/github/github_test.go:68–77  ·  view source on GitHub ↗
(t *testing.T, url string)

Source from the content-addressed store, hash-verified

66}
67
68func assertURLCalled(t *testing.T, url string) {
69 found := false
70 for _, requestedURL := range requests {
71 if requestedURL == url {
72 found = true
73 break
74 }
75 }
76 assert.True(t, found, "Expected %s to have been called, but got only %s", url, requests)
77}
78
79var (
80 user *structs.User

Calls

no outgoing calls

Tested by

no test coverage detected