From a609a471386a3853c47d88c9709332257839547c Mon Sep 17 00:00:00 2001 From: James Cole Date: Thu, 5 Jan 2017 08:52:45 +0100 Subject: [PATCH] Fix tests. --- .../Controllers/Transaction/SingleControllerTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/acceptance/Controllers/Transaction/SingleControllerTest.php b/tests/acceptance/Controllers/Transaction/SingleControllerTest.php index 172aa7d0d4..beae215fcd 100644 --- a/tests/acceptance/Controllers/Transaction/SingleControllerTest.php +++ b/tests/acceptance/Controllers/Transaction/SingleControllerTest.php @@ -94,7 +94,7 @@ class SingleControllerTest extends TestCase $data = [ 'what' => 'withdrawal', - 'amount' => 10, + 'amount' => '10', 'amount_currency_id_amount' => 1, 'source_account_id' => 1, 'destination_account_name' => 'Some destination', @@ -119,7 +119,7 @@ class SingleControllerTest extends TestCase 'description' => 'Updated groceries', 'source_account_id' => 1, 'destination_account_name' => 'PLUS', - 'amount' => 123, + 'amount' => '123', 'amount_currency_id_amount' => 1, 'budget_id' => 1, 'category' => 'Daily groceries',