mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-17 23:28:20 +00:00
Improve test coverage.
This commit is contained in:
@@ -53,7 +53,7 @@ class CurrencyTransformerTest extends TestCase
|
||||
{
|
||||
// mocks and prep:
|
||||
$parameters = new ParameterBag;
|
||||
$currency = TransactionCurrency::first();
|
||||
$currency = $this->getEuro();
|
||||
$transformer = app(CurrencyTransformer::class);
|
||||
$transformer->setParameters($parameters);
|
||||
|
||||
@@ -75,7 +75,7 @@ class CurrencyTransformerTest extends TestCase
|
||||
{
|
||||
// mocks and prep:
|
||||
$parameters = new ParameterBag;
|
||||
$currency = TransactionCurrency::first();
|
||||
$currency = $this->getEuro();
|
||||
$parameters->set('defaultCurrency', $currency);
|
||||
$transformer = app(CurrencyTransformer::class);
|
||||
$transformer->setParameters($parameters);
|
||||
|
||||
Reference in New Issue
Block a user