From a3f23b93ef37d626bd9f2bf1ecc1e87a06cb5d52 Mon Sep 17 00:00:00 2001 From: Eldad Fux Date: Wed, 8 Jul 2020 16:02:01 +0300 Subject: [PATCH] Fixed teams test --- tests/e2e/Services/Teams/TeamsBase.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/e2e/Services/Teams/TeamsBase.php b/tests/e2e/Services/Teams/TeamsBase.php index 443144cfeb..cde7fd1f1e 100644 --- a/tests/e2e/Services/Teams/TeamsBase.php +++ b/tests/e2e/Services/Teams/TeamsBase.php @@ -115,7 +115,7 @@ trait TeamsBase $this->assertEquals(200, $response['headers']['status-code']); $this->assertGreaterThan(0, $response['body']['sum']); $this->assertIsInt($response['body']['sum']); - $this->assertCount(3, $response['body']['teams']); + $this->assertGreaterThan(2, count($response['body']['teams'])); $response = $this->client->call(Client::METHOD_GET, '/teams', array_merge([ 'content-type' => 'application/json',