fix: fix contact create with birthdate age 0 (#2624)

This commit is contained in:
Alexis Saettler
2019-04-28 18:35:00 +02:00
committed by GitHub
parent 13fa81252f
commit 1b92aac878
8 changed files with 44 additions and 24 deletions
+2 -2
View File
@@ -92,13 +92,13 @@ class NoteTest extends TestCase
$note = new Note;
$note->created_at = '2017-01-22 17:56:03';
$this->assertInternalType('string', $note->getCreatedAt());
$this->assertIsString($note->getCreatedAt());
}
public function testGetContentReturnsAString()
{
$note = factory(Note::class)->make();
$this->assertInternalType('string', $note->getContent());
$this->assertIsString($note->getContent());
}
}