Expand tests for updated triggers / actions.

This commit is contained in:
James Cole
2018-03-04 17:10:36 +01:00
parent d22fb9f438
commit 72314e2d9f
9 changed files with 70 additions and 21 deletions

View File

@@ -37,7 +37,6 @@ class HasAttachmentTest extends TestCase
public function testTriggered()
{
do {
// this is kind of cheating but OK.
$journal = TransactionJournal::inRandomOrder()->whereNull('deleted_at')->first();
$count = $journal->attachments()->count();
} while($count !== 0);