From 1d85c4c8cff87e4dc3ee484db4d1f08979af4cc5 Mon Sep 17 00:00:00 2001 From: Jonny Barnes Date: Sun, 23 Oct 2022 13:15:16 +0100 Subject: [PATCH] Fix one of the unit tests --- tests/Feature/MicropubControllerTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Feature/MicropubControllerTest.php b/tests/Feature/MicropubControllerTest.php index 9cdd07fb..e34e218a 100644 --- a/tests/Feature/MicropubControllerTest.php +++ b/tests/Feature/MicropubControllerTest.php @@ -100,7 +100,7 @@ class MicropubControllerTest extends TestCase public function micropubClientCanRequestEndpointConfig(): void { $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 */