diff --git a/tests/Feature/Commands/BillReminderTest.php b/tests/Feature/Commands/BillReminderTest.php index 66356d4a2..c61706b0d 100644 --- a/tests/Feature/Commands/BillReminderTest.php +++ b/tests/Feature/Commands/BillReminderTest.php @@ -41,7 +41,7 @@ class BillReminderTest extends FeatureTestCase public function getRequest() { - return factory(Bill::class)->states('items')->raw([ + return factory(Bill::class)->states('items', 'received')->raw([ 'due_at' => Date::now()->subDays($this->add_days - 1), ]); } diff --git a/tests/Feature/Commands/InvoiceReminderTest.php b/tests/Feature/Commands/InvoiceReminderTest.php index 0a6ac71ca..1b46d96b0 100644 --- a/tests/Feature/Commands/InvoiceReminderTest.php +++ b/tests/Feature/Commands/InvoiceReminderTest.php @@ -41,7 +41,7 @@ class InvoiceReminderTest extends FeatureTestCase public function getRequest() { - return factory(Invoice::class)->states('items')->raw([ + return factory(Invoice::class)->states('items', 'sent')->raw([ 'due_at' => Date::now()->subDays($this->add_days - 1), ]); }