Use JSON with micripub endpoint responses
This commit is contained in:
parent
88b30bb815
commit
128f649722
3 changed files with 71 additions and 29 deletions
|
@ -32,12 +32,13 @@ class MicropubClientTest extends TestCase
|
|||
|
||||
public function testClientPageRecentAuth()
|
||||
{
|
||||
$syndication = ['https://twitter.com/jonnybarnes'];
|
||||
$this->withSession([
|
||||
'me' => $this->appurl,
|
||||
'syndication' => 'mp-syndicate-to=twitter.com%2Fjbl5',
|
||||
'syndication' => $syndication,
|
||||
])->visit($this->appurl . '/notes/new')
|
||||
->see($this->appurl)
|
||||
->see('twitter.com/jbl5');
|
||||
->see('https://twitter.com/jonnybarnes');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue