Skip to content

Commit 46d528e

Browse files
committed
fix: test case setup typo
1 parent 1c44855 commit 46d528e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/component/artifactory_release_source_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ var _ = Describe("interacting with BOSH releases on Artifactory", func() {
7777
artifactoryRouter.Handler(http.MethodGet, "/api/storage/basket/bosh-releases/smoothie/9.9/mango", applyMiddleware(http.HandlerFunc(func(res http.ResponseWriter, _ *http.Request) {
7878
res.WriteHeader(http.StatusOK)
7979
// language=json
80-
_, _ = io.WriteString(res, `{"children": [{"uri": "/mango-2.3.4-smoothie-9.9-notices.tgz", "folder": false}, {"uri": "/mango-2.3.4-smoothie-9.9.tgz", "folder": false}, {"uri": "/mango-2.3.4-notices.tgz", "folder": false}]}`)
80+
_, _ = io.WriteString(res, `{"children": [{"uri": "/mango-2.3.4-smoothie-9.9-notices.tgz", "folder": false}, {"uri": "/mango-2.3.4-smoothie-9.9.tgz", "folder": false}, {"uri": "/mango-2.3.4-notices.zip", "folder": false}]}`)
8181
}), requireAuth))
8282
artifactoryRouter.Handler(http.MethodGet, "/artifactory/basket/bosh-releases/smoothie/9.9/mango/mango-2.3.4-smoothie-9.9.tgz", applyMiddleware(http.HandlerFunc(func(res http.ResponseWriter, _ *http.Request) {
8383
res.WriteHeader(http.StatusOK)

0 commit comments

Comments
 (0)