Use JSON response for q=syndicate-to request
This commit is contained in:
parent
4f30955758
commit
88b30bb815
5 changed files with 26 additions and 16 deletions
|
@ -44,7 +44,7 @@ class MicropubTest extends TestCase
|
|||
public function testMicropubRequestForSyndication()
|
||||
{
|
||||
$this->call('GET', $this->appurl . '/api/post', ['q' => 'syndicate-to'], [], [], ['HTTP_Authorization' => 'Bearer ' . $this->getToken()]);
|
||||
$this->see('twitter.com%2Fjonnybarnes');
|
||||
$this->seeJson(['uid' => 'https://twitter.com/jonnybarnes']);
|
||||
}
|
||||
|
||||
public function testMicropubRequestForNearbyPlacesThatExist()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue