Fix tests
This commit is contained in:
parent
b8c0724036
commit
0ca17f2d0a
3 changed files with 9 additions and 9 deletions
|
@ -26,13 +26,13 @@ class MicropubClientTest extends BrowserKitTest
|
|||
*/
|
||||
public function testClientPageUnauthorised()
|
||||
{
|
||||
$this->visit($this->appurl . '/notes/new')
|
||||
$this->visit($this->appurl . '/micropub/create')
|
||||
->see('IndieAuth');
|
||||
}
|
||||
|
||||
public function testClientPageRecentAuth()
|
||||
{
|
||||
$this->visit($this->appurl . '/notes/new')
|
||||
$this->visit($this->appurl . '/micropub/create')
|
||||
->see($this->appurl);
|
||||
}
|
||||
|
||||
|
@ -41,7 +41,7 @@ class MicropubClientTest extends BrowserKitTest
|
|||
//in this test, the syndication targets are blank
|
||||
$faker = \Faker\Factory::create();
|
||||
$note = 'Fake note from #PHPUnit: ' . $faker->text;
|
||||
$this->visit($this->appurl . '/notes/new')
|
||||
$this->visit($this->appurl . '/micropub/create')
|
||||
->type($note, 'content')
|
||||
->press('Submit');
|
||||
$this->seeInDatabase('notes', ['note' => $note]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue