Change /acars/logs data format; /cancel to DELETE request

This commit is contained in:
Nabeel Shahzad
2018-01-04 20:08:22 -06:00
parent b29a07afd3
commit 591c3e7b8b
5 changed files with 58 additions and 33 deletions

View File

@@ -204,7 +204,7 @@ class PIREPTest extends TestCase
# Cancel it
$uri = '/api/pireps/' . $pirep_id . '/cancel';
$response = $this->withHeaders($this->apiHeaders())->post($uri, $acars);
$response = $this->withHeaders($this->apiHeaders())->delete($uri, $acars);
$response->assertStatus(200);
# Should get a 400 when posting an ACARS update