Try and add a random Example target
This commit is contained in:
parent
d08f3af75f
commit
83f5d6eb82
2 changed files with 4 additions and 2 deletions
|
@ -322,7 +322,9 @@ class MicropubClientController extends Controller
|
|||
private function parseSyndicationTargets($syndicationTargets = null)
|
||||
{
|
||||
if ($syndicationTargets === null) {
|
||||
return;
|
||||
return [
|
||||
['target' => 'http://example.org', 'name' => 'Joe Bloggs on Example']
|
||||
];
|
||||
}
|
||||
$syndicateTo = [];
|
||||
$data = json_decode($syndicationTargets, true);
|
||||
|
|
|
@ -26,7 +26,7 @@ class MicropubClientTest extends DuskTestCase
|
|||
$browser->visit(route('micropub-client'))
|
||||
->assertDontSee('jonnybarnes on Twitter')
|
||||
->clickLink('Refresh Syndication Targets')
|
||||
->pause(10000)
|
||||
->pause(5000)
|
||||
->assertSee('jonnybarnes on Twitter');
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue