Skip to content

Commit

Permalink
Fixing the assertions
Browse files Browse the repository at this point in the history
  • Loading branch information
arcanedev-maroc committed Oct 22, 2016
1 parent f8faee0 commit 994f4eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Models/NoteTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ public function it_can_create_with_author()
$this->assertInstanceOf(User::class, $note->author);
$this->assertInstanceOf(User::class, $post->note->author);

$this->assertSame($user->id, $note->author->id);
$this->assertSame($user->id, $post->note->author->id);
$this->assertEquals($user->id, $note->author->id);
$this->assertEquals($user->id, $post->note->author->id);
}

/** @test */
Expand Down

0 comments on commit 994f4eb

Please sign in to comment.