Fix one of the unit tests

This commit is contained in:
Jonny Barnes 2022-10-23 13:15:16 +01:00
parent 0ddec78d09
commit 1d85c4c8cf
Signed by: jonny
SSH key fingerprint: SHA256:CTuSlns5U7qlD9jqHvtnVmfYV3Zwl2Z7WnJ4/dqOaL8

View file

@ -100,7 +100,7 @@ class MicropubControllerTest extends TestCase
public function micropubClientCanRequestEndpointConfig(): void public function micropubClientCanRequestEndpointConfig(): void
{ {
$response = $this->get('/api/post?q=config', ['HTTP_Authorization' => 'Bearer ' . $this->getToken()]); $response = $this->get('/api/post?q=config', ['HTTP_Authorization' => 'Bearer ' . $this->getToken()]);
$response->assertJsonFragment(['uid' => 'https://twitter.com/jonnybarnes']); $response->assertJsonFragment(['media-endpoint' => route('media-endpoint')]);
} }
/** @test */ /** @test */