File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ public function cancel(string $app): void
42
42
{
43
43
$ url = sprintf (App::V2_APP_CANCEL_URL , $ app );
44
44
45
- $ response = $ this ->client ->api ->delete ($ url );
45
+ $ response = $ this ->client ->api ->post ($ url );
46
46
47
47
$ this ->client ->maybeThrowApiExceptions ($ response );
48
48
}
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ public function testCancelEphemeralApp()
62
62
$ this ->client ->ephemeralApp ->cancel ('johndoe-eph123456 ' );
63
63
64
64
$ request = $ this ->responses ->getLastRequest ();
65
- $ this ->assertEquals ('DELETE ' , $ request ->getMethod ());
65
+ $ this ->assertEquals ('POST ' , $ request ->getMethod ());
66
66
$ this ->assertEquals ('/v2/app/johndoe-eph123456/cancel/ ' , $ request ->getUri ());
67
67
}
68
68
You can’t perform that action at this time.
0 commit comments