Having a #beer at the local. 🍺
' . PHP_EOL;
$note = Note::find(11);
$this->assertEquals($expected, $note->note);
}
/**
* Look for a default image in the contact’s h-card for the makeHCards method.
*
* @return void
*/
public function test_default_image_used_in_makehcards_method()
{
$expected = 'Hi Tantek Çelik
t
' . PHP_EOL;
$note = Note::find(12);
$this->assertEquals($expected, $note->note);
}
/**
* Look for a specific profile image in the contact’s h-card.
*
* @return void
*/
public function test_specific_profile_image_used_in_makehcards_method()
{
$expected = 'Hi Aaron Parecki
Facebook
aaronpk
' . PHP_EOL;
$note = Note::find(13);
$this->assertEquals($expected, $note->note);
}
/**
* Look for twitter URL when there’s no associated contact.
*
* @return void
*/
public function test_twitter_link_created_when_no_contact_found()
{
$expected = 'Hi @bob
' . PHP_EOL;
$note = Note::find(14);
$this->assertEquals($expected, $note->note);
}
}