Skip to content

Commit

Permalink
replace abort build POST to PUT in fly integration tests.
Browse files Browse the repository at this point in the history
[#141161949]

Signed-off-by: Anisha Hirji <ahirji@pivotal.io>
  • Loading branch information
joshzarrabi authored and pivotal-ahirji committed Mar 13, 2017
1 parent 9a70342 commit 901b062
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion integration/abort_build_test.go
Expand Up @@ -34,7 +34,7 @@ var _ = Describe("AbortBuild", func() {
ghttp.RespondWithJSONEncoded(http.StatusOK, expectedBuild),
),
ghttp.CombineHandlers(
ghttp.VerifyRequest("POST", expectedAbortURL),
ghttp.VerifyRequest("PUT", expectedAbortURL),
ghttp.RespondWith(http.StatusNoContent, ""),
),
)
Expand Down
2 changes: 1 addition & 1 deletion integration/execute_test.go
Expand Up @@ -483,7 +483,7 @@ run:

atcServer.AppendHandlers(
ghttp.CombineHandlers(
ghttp.VerifyRequest("POST", "/api/v1/builds/128/abort"),
ghttp.VerifyRequest("PUT", "/api/v1/builds/128/abort"),
func(w http.ResponseWriter, r *http.Request) {
close(aborted)
},
Expand Down

0 comments on commit 901b062

Please sign in to comment.