Skip to content

Commit

Permalink
fix typo in alloc endpoint test
Browse files Browse the repository at this point in the history
  • Loading branch information
thevilledev committed Jul 19, 2023
1 parent 09e2014 commit 4067fd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion command/agent/alloc_endpoint_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ func TestHTTP_AllocStop(t *testing.T) {
// Test that the happy path works
{
// Make the HTTP request
req, err := http.NewRequest(http.MethodGet, "/v1/allocation/"+alloc.ID+"/stop", nil)
req, err := http.NewRequest(http.MethodPost, "/v1/allocation/"+alloc.ID+"/stop", nil)
require.NoError(err)
respW := httptest.NewRecorder()

Expand Down

0 comments on commit 4067fd9

Please sign in to comment.