mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-10-31 12:37:32 -04:00 
			
		
		
		
	Fixes for tests
This commit is contained in:
		
							parent
							
								
									ce2885ed37
								
							
						
					
					
						commit
						2f8f9ffce8
					
				| @ -56,10 +56,13 @@ class StoreCompanyRequest extends Request | |||||||
|             } |             } | ||||||
|         } |         } | ||||||
| 
 | 
 | ||||||
|         $rules['smtp_host'] = 'sometimes|string'; |         $rules['smtp_host'] = 'sometimes|string|nullable'; | ||||||
|         $rules['smtp_port'] = 'sometimes|string'; |         $rules['smtp_port'] = 'sometimes|string|nullable'; | ||||||
|         $rules['smtp_encryption'] = 'sometimes|string'; |         $rules['smtp_encryption'] = 'sometimes|string'; | ||||||
|         $rules['smtp_local_domain'] = 'sometimes|string'; |         $rules['smtp_local_domain'] = 'sometimes|string|nullable';         | ||||||
|  |         $rules['smtp_encryption'] = 'sometimes|string|nullable'; | ||||||
|  |         $rules['smtp_local_domain'] = 'sometimes|string|nullable'; | ||||||
|  | 
 | ||||||
|         // $rules['smtp_verify_peer'] = 'sometimes|in:true,false';
 |         // $rules['smtp_verify_peer'] = 'sometimes|in:true,false';
 | ||||||
| 
 | 
 | ||||||
|         return $rules; |         return $rules; | ||||||
|  | |||||||
| @ -58,8 +58,8 @@ class UpdateCompanyRequest extends Request | |||||||
|         $rules['e_invoice_certificate_passphrase'] = 'sometimes|nullable'; |         $rules['e_invoice_certificate_passphrase'] = 'sometimes|nullable'; | ||||||
|         $rules['e_invoice_certificate'] = 'sometimes|nullable|file|mimes:p12,pfx,pem,cer,crt,der,txt,p7b,spc,bin'; |         $rules['e_invoice_certificate'] = 'sometimes|nullable|file|mimes:p12,pfx,pem,cer,crt,der,txt,p7b,spc,bin'; | ||||||
| 
 | 
 | ||||||
|         $rules['smtp_host'] = 'sometimes|string'; |         $rules['smtp_host'] = 'sometimes|string|nullable'; | ||||||
|         $rules['smtp_port'] = 'sometimes|string'; |         $rules['smtp_port'] = 'sometimes|string|nullable'; | ||||||
|         $rules['smtp_encryption'] = 'sometimes|string|nullable'; |         $rules['smtp_encryption'] = 'sometimes|string|nullable'; | ||||||
|         $rules['smtp_local_domain'] = 'sometimes|string|nullable'; |         $rules['smtp_local_domain'] = 'sometimes|string|nullable'; | ||||||
|         // $rules['smtp_verify_peer'] = 'sometimes|string';
 |         // $rules['smtp_verify_peer'] = 'sometimes|string';
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user