Fix the syndication list test to match better parsing support

This commit is contained in:
Jonny Barnes 2016-07-13 20:10:15 +01:00
parent d584a10d1e
commit 4ca621f0e3

View file

@ -32,7 +32,12 @@ class MicropubClientTest extends TestCase
public function testClientPageRecentAuth() public function testClientPageRecentAuth()
{ {
$syndication = ['https://twitter.com/jonnybarnes']; $syndication = [
[
'target' => 'https://twitter.com/jonnybarnes',
'name' => 'jonnybarnes on Twitter',
]
];
$this->withSession([ $this->withSession([
'me' => $this->appurl, 'me' => $this->appurl,
'syndication' => $syndication, 'syndication' => $syndication,