fixed reminder tests
This commit is contained in:
parent
9aee6d0bd9
commit
2f98696caf
@ -41,7 +41,7 @@ class BillReminderTest extends FeatureTestCase
|
|||||||
|
|
||||||
public function getRequest()
|
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),
|
'due_at' => Date::now()->subDays($this->add_days - 1),
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
@ -41,7 +41,7 @@ class InvoiceReminderTest extends FeatureTestCase
|
|||||||
|
|
||||||
public function getRequest()
|
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),
|
'due_at' => Date::now()->subDays($this->add_days - 1),
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user