Skip to content

Commit

Permalink
馃И add extra assertion to the log test
Browse files Browse the repository at this point in the history
  • Loading branch information
Yung Teck Sheng committed Apr 27, 2022
1 parent 0de1f25 commit cce4a92
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/Feature/UserActivityLogTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -135,5 +135,7 @@ function it_can_get_logs_from_the_model()

$logs = $newPost->logs();
$this->assertCount(1, $logs);

$this->assertEquals($newPost->toArray(), $logs[0]->data);
}
}

0 comments on commit cce4a92

Please sign in to comment.