Skip to content

Firefly III: a personal finances manager

Fixed currency tests.

James Coleec8e39c16f5e
diff --git a/tests/repositories/CurrencyRepositoryTest.php b/tests/repositories/CurrencyRepositoryTest.php
index ad819a5b94..1e56b2db96 100644
--- a/tests/repositories/CurrencyRepositoryTest.php
+++ b/tests/repositories/CurrencyRepositoryTest.php
@@ -76,7 +76,7 @@ class CurrencyRepositoryTest extends TestCase
$preference->data = 'ABC';
$preference->save();
$found = $this->object->getCurrencyByPreference($preference);
- $this->assertEquals($first->id, $found->id);
+ $this->assertEquals(1, $found->id); // EUR is first and will be set.
}
/**