Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
milwad-dev committed Nov 1, 2024
1 parent 49c694b commit 7ec1000
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Modules/Task/Tests/Feature/TaskDestroyTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
$response->assertNoContent();

// DB Assertations
assertDatabaseCount('users', 1);
assertDatabaseCount('users', 2);
assertDatabaseCount('tasks', 0);

assertDatabaseHas('users', ['email' => $user->email]);
Expand Down
2 changes: 1 addition & 1 deletion Modules/Task/Tests/Feature/TaskUpdateTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
$response->assertNoContent();

// DB Assertations
assertDatabaseCount('users', 1);
assertDatabaseCount('users', 2);
assertDatabaseCount('tasks', 1);

assertDatabaseHas('users', ['email' => $user->email]);
Expand Down
Binary file modified database/database-tests.sqllite
Binary file not shown.

0 comments on commit 7ec1000

Please sign in to comment.