mirror of
				https://github.com/firefly-iii/firefly-iii.git
				synced 2025-10-31 10:47:00 +00:00 
			
		
		
		
	Various code coverage and test related fixes.
This commit is contained in:
		| @@ -269,8 +269,10 @@ class SingleController extends Controller | ||||
|         $foreignCurrencyId = intval($journal->getMeta('foreign_currency_id')); | ||||
|         if ($foreignCurrencyId > 0) { | ||||
|             // update some fields in pre-filled. | ||||
|             // @codeCoverageIgnoreStart | ||||
|             $preFilled['amount']   = $journal->getMeta('foreign_amount'); | ||||
|             $preFilled['currency'] = $this->currency->find(intval($journal->getMeta('foreign_currency_id'))); | ||||
|             // @codeCoverageIgnoreEnd | ||||
|         } | ||||
|  | ||||
|         if ($journal->isWithdrawal() && $destinationAccounts->first()->accountType->type == AccountType::CASH) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user