mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-06 18:02:42 +00:00
Fix test coverage.
This commit is contained in:
@@ -120,8 +120,8 @@ class AccountTransformer extends TransformerAbstract
|
||||
'id' => (int)$account->id,
|
||||
'updated_at' => $account->updated_at->toAtomString(),
|
||||
'created_at' => $account->created_at->toAtomString(),
|
||||
'name' => $account->name,
|
||||
'active' => 1 === (int)$account->active,
|
||||
'name' => $account->name,
|
||||
'type' => $type,
|
||||
'account_role' => $role,
|
||||
'currency_id' => $currencyId,
|
||||
|
||||
@@ -51,10 +51,10 @@ class TransactionTransformer extends TransformerAbstract
|
||||
* @param ParameterBag $parameters
|
||||
* @param JournalRepositoryInterface $repository
|
||||
*/
|
||||
public function __construct(ParameterBag $parameters, JournalRepositoryInterface $repository)
|
||||
public function __construct(ParameterBag $parameters)
|
||||
{
|
||||
$this->parameters = $parameters;
|
||||
$this->repository = $repository;
|
||||
$this->repository = app(JournalRepositoryInterface::class);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user