mirror of
				https://github.com/crater-invoice/crater.git
				synced 2025-10-30 21:21:09 -04:00 
			
		
		
		
	solve unit tests
This commit is contained in:
		| @ -19,7 +19,10 @@ test('invoice request validation rules', function () { | ||||
|             ], | ||||
|             'invoice_number' => [ | ||||
|                 'required', | ||||
|                 Rule::unique('invoices')->where('company_id', null) | ||||
|                 Rule::unique('invoices')->where('company_id', $request->header('company')) | ||||
|             ], | ||||
|             'exchange_rate' => [ | ||||
|                 'nullable' | ||||
|             ], | ||||
|             'discount' => [ | ||||
|                 'required', | ||||
|  | ||||
		Reference in New Issue
	
	Block a user