From ec8e39c16f5e67c6f918cbb1cfa380a2801448b9 Mon Sep 17 00:00:00 2001 From: James Cole Date: Sun, 10 May 2015 09:26:44 +0200 Subject: [PATCH] Fixed currency tests. --- tests/repositories/CurrencyRepositoryTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. } /**