Change /acars/logs data format; /cancel to DELETE request
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user