Replicate what aaronpk does in his endpoint
This commit is contained in:
parent
7fcbfec105
commit
95bf302dcd
2 changed files with 3 additions and 2 deletions
|
@ -28,7 +28,8 @@ class MicropubMediaTest extends TestCase
|
|||
'/api/media?q=last',
|
||||
['HTTP_Authorization' => 'Bearer ' . $this->getToken()]
|
||||
);
|
||||
$response->assertStatus(404);
|
||||
$response->assertStatus(200);
|
||||
$response->assertJson(['url' => null]);
|
||||
}
|
||||
|
||||
/** @test */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue