Fix one of the unit tests
This commit is contained in:
parent
0ddec78d09
commit
1d85c4c8cf
1 changed files with 1 additions and 1 deletions
|
@ -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 */
|
||||||
|
|
Loading…
Add table
Reference in a new issue