Skip to content

Commit 5e47678

Browse files
committed
improve test can delete all attributes of one model
1 parent fdf6214 commit 5e47678

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/AttributeTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@
115115
$product->deleteAllAttribute();
116116

117117
assertDatabaseCount('products', 1);
118+
assertDatabaseCount('attributes', 0);
118119
});
119120

120121
/**

0 commit comments

Comments
 (0)