Skip to content

Commit

Permalink
Update ActionMonitoringTest.php
Browse files Browse the repository at this point in the history
  • Loading branch information
milwad-dev committed Jul 26, 2023
1 parent 5cad174 commit 2ee5298
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/Feature/ActionMonitoringTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@
->toBe('products')
->and(ActionMonitoring::query()->value('action_type'))
->toBe(ActionType::ACTION_STORE)
->and($user->name)->toBe(ActionMonitoring::first()->user->name);
->and($user->name)
->toBe(ActionMonitoring::first()->user->name);

// DB Assertions
assertDatabaseCount(config('user-monitoring.action_monitoring.table'), 1);
Expand Down

0 comments on commit 2ee5298

Please sign in to comment.