We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 309a671 + bde69ab commit 0a40102Copy full SHA for 0a40102
2 files changed
src/Service/EphemeralApp.php
@@ -42,7 +42,7 @@ public function cancel(string $app): void
42
{
43
$url = sprintf(App::V2_APP_CANCEL_URL, $app);
44
45
- $response = $this->client->api->delete($url);
+ $response = $this->client->api->post($url);
46
47
$this->client->maybeThrowApiExceptions($response);
48
}
tests/unit/Service/EphemeralAppTest.php
@@ -62,7 +62,7 @@ public function testCancelEphemeralApp()
62
$this->client->ephemeralApp->cancel('johndoe-eph123456');
63
64
$request = $this->responses->getLastRequest();
65
- $this->assertEquals('DELETE', $request->getMethod());
+ $this->assertEquals('POST', $request->getMethod());
66
$this->assertEquals('/v2/app/johndoe-eph123456/cancel/', $request->getUri());
67
68
0 commit comments