From 39d32ea91921730ea9e904173d5929075dcbb3be Mon Sep 17 00:00:00 2001 From: Damodar Lohani Date: Thu, 28 Oct 2021 15:53:26 +0545 Subject: [PATCH] fix counts --- tests/e2e/Services/Functions/FunctionsCustomServerTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/e2e/Services/Functions/FunctionsCustomServerTest.php b/tests/e2e/Services/Functions/FunctionsCustomServerTest.php index 7e27705051..a206b477df 100644 --- a/tests/e2e/Services/Functions/FunctionsCustomServerTest.php +++ b/tests/e2e/Services/Functions/FunctionsCustomServerTest.php @@ -407,7 +407,7 @@ class FunctionsCustomServerTest extends Scope $this->assertEquals($function['headers']['status-code'], 200); $this->assertEquals($function['body']['sum'], 2); $this->assertIsArray($function['body']['tags']); - $this->assertCount(1, $function['body']['tags']); + $this->assertCount(2, $function['body']['tags']); $this->assertEquals($function['body']['tags'][0]['$id'], $data['tagId']); $function = $this->client->call(Client::METHOD_GET, '/functions/'.$data['functionId'].'/tags', array_merge([ @@ -420,7 +420,7 @@ class FunctionsCustomServerTest extends Scope $this->assertEquals($function['headers']['status-code'], 200); $this->assertEquals($function['body']['sum'], 2); $this->assertIsArray($function['body']['tags']); - $this->assertCount(1, $function['body']['tags']); + $this->assertCount(2, $function['body']['tags']); $this->assertEquals($function['body']['tags'][0]['$id'], $data['tagId']); return $data;