appurl = config('app.url');
}
/**
* Test the `/contacts` page and see if response is OK.
*
* @return void
*/
public function testContactsPage()
{
$this->visit($this->appurl . '/contacts')
->assertResponseOK();
}
/**
* Test an individual contact page with default profile image.
*
* @return void
*/
public function testContactPageWithDefaultPic()
{
$this->visit($this->appurl . '/contacts/tantek')
->see('
');
}
/**
* Test an individual contact page with a specific profile image.
*
* @return void
*/
public function testContactPageWithSpecificPic()
{
$this->visit($this->appurl . '/contacts/aaron')
->see('
');
}
}