From 025191fc2c0dc045207361e31ad15b0934830bed Mon Sep 17 00:00:00 2001 From: David Bomba Date: Tue, 7 Feb 2023 23:36:38 +1100 Subject: [PATCH] Test adding a third parameter to the task timelog --- tests/Feature/TaskApiTest.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/Feature/TaskApiTest.php b/tests/Feature/TaskApiTest.php index 031966083393..fe338e01a8f2 100644 --- a/tests/Feature/TaskApiTest.php +++ b/tests/Feature/TaskApiTest.php @@ -58,7 +58,7 @@ class TaskApiTest extends TestCase public function testTaskLockingGate() { $data = [ - 'timelog' => [[1,2],[3,4]], + 'timelog' => [[1,2,'a'],[3,4,'d']], ]; $response = $this->withHeaders([ @@ -194,7 +194,7 @@ class TaskApiTest extends TestCase public function testTimeLogValidation3() { $data = [ - 'timelog' => [["a","b"],["c","d"]], + 'timelog' => [["a","b",'d'],["c","d",'d']], ]; try { @@ -213,7 +213,7 @@ class TaskApiTest extends TestCase public function testTimeLogValidation4() { $data = [ - 'timelog' => [[1,2],[3,0]], + 'timelog' => [[1,2,'d'],[3,0,'d']], ]; $response = $this->withHeaders([ @@ -232,8 +232,8 @@ class TaskApiTest extends TestCase public function testStartTask() { $log = [ - [2, 1], - [10, 20], + [2, 1,'d'], + [10, 20,'d'], ]; $last = end($log);