fixed reminder tests
This commit is contained in:
		@@ -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),
 | 
			
		||||
        ]);
 | 
			
		||||
    }
 | 
			
		||||
 
 | 
			
		||||
@@ -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),
 | 
			
		||||
        ]);
 | 
			
		||||
    }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user