mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-04 03:29:03 -05:00 
			
		
		
		
	Fixes for tests
This commit is contained in:
		
							parent
							
								
									8880dd3f49
								
							
						
					
					
						commit
						1dc09aab0b
					
				@ -185,7 +185,7 @@ class InvoiceTest extends TestCase
 | 
				
			|||||||
        $response = $this->withHeaders([
 | 
					        $response = $this->withHeaders([
 | 
				
			||||||
            'X-API-SECRET' => config('ninja.api_secret'),
 | 
					            'X-API-SECRET' => config('ninja.api_secret'),
 | 
				
			||||||
            'X-API-TOKEN' => $this->token,
 | 
					            'X-API-TOKEN' => $this->token,
 | 
				
			||||||
        ])->get('/api/v1/invoices?date_range=date,1971-01-01,1971-01-03', )
 | 
					        ])->get('/api/v1/invoices?date_range=1971-01-01,1971-01-03', )
 | 
				
			||||||
        ->assertStatus(200);
 | 
					        ->assertStatus(200);
 | 
				
			||||||
        
 | 
					        
 | 
				
			||||||
        $arr = $response->json();
 | 
					        $arr = $response->json();
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user