Skip to content

Commit

Permalink
improve test can delete all attributes of one model
Browse files Browse the repository at this point in the history
  • Loading branch information
milwad-dev committed Apr 7, 2023
1 parent fdf6214 commit 5e47678
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/AttributeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@
$product->deleteAllAttribute();

assertDatabaseCount('products', 1);
assertDatabaseCount('attributes', 0);
});

/**
Expand Down

0 comments on commit 5e47678

Please sign in to comment.