mirror of
				https://github.com/firefly-iii/firefly-iii.git
				synced 2025-10-31 02:36:28 +00:00 
			
		
		
		
	Improve test coverage.
This commit is contained in:
		| @@ -33,6 +33,7 @@ use Log; | ||||
|  | ||||
| /** | ||||
|  * Class ImportTransaction | ||||
|  * @codeCoverageIgnore | ||||
|  */ | ||||
| class ImportTransaction | ||||
| { | ||||
| @@ -179,7 +180,7 @@ class ImportTransaction | ||||
|             'date-process'       => 'date_process', | ||||
|             'date-due'           => 'date_due', | ||||
|         ]; | ||||
|         if (in_array($role, array_keys($replaceOldRoles))) { | ||||
|         if (array_key_exists($role, $replaceOldRoles)) { | ||||
|             $role = $replaceOldRoles[$role]; | ||||
|         } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user