From 9cea7ea5265443508e191f9798c6cb71dcd7c567 Mon Sep 17 00:00:00 2001 From: bhc Date: Sat, 27 Apr 2024 01:22:03 +0300 Subject: [PATCH] Update total count in assertions in ContentTypeTest --- tests/e2e/Services/GraphQL/ContentTypeTest.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/e2e/Services/GraphQL/ContentTypeTest.php b/tests/e2e/Services/GraphQL/ContentTypeTest.php index 707dfbecf5..190f1d4fcd 100644 --- a/tests/e2e/Services/GraphQL/ContentTypeTest.php +++ b/tests/e2e/Services/GraphQL/ContentTypeTest.php @@ -30,7 +30,7 @@ class ContentTypeTest extends Scope $this->assertIsArray($response['body']['data']); $this->assertArrayNotHasKey('errors', $response['body']); $response = $response['body']['data']['localeListCountries']; - $this->assertEquals(196, $response['total']); + $this->assertEquals(197, $response['total']); } public function testSingleQueryJSONContentType() @@ -46,7 +46,7 @@ class ContentTypeTest extends Scope $this->assertIsArray($response['body']['data']); $this->assertArrayNotHasKey('errors', $response['body']); $response = $response['body']['data']['localeListCountries']; - $this->assertEquals(196, $response['total']); + $this->assertEquals(197, $response['total']); } public function testArrayBatchedJSONContentType() @@ -69,7 +69,7 @@ class ContentTypeTest extends Scope $this->assertArrayNotHasKey('errors', $response['body'][1]); $this->assertArrayHasKey('localeListCountries', $response['body'][0]['data']); $this->assertArrayHasKey('localeListContinents', $response['body'][1]['data']); - $this->assertEquals(196, $response['body'][0]['data']['localeListCountries']['total']); + $this->assertEquals(197, $response['body'][0]['data']['localeListCountries']['total']); $this->assertEquals(7, $response['body'][1]['data']['localeListContinents']['total']); } @@ -94,7 +94,7 @@ class ContentTypeTest extends Scope $this->assertArrayNotHasKey('errors', $response['body']); $this->assertArrayHasKey('localeListCountries', $response['body']['data']); $this->assertArrayHasKey('localeListContinents', $response['body']['data']); - $this->assertEquals(196, $response['body']['data']['localeListCountries']['total']); + $this->assertEquals(197, $response['body']['data']['localeListCountries']['total']); $this->assertEquals(7, $response['body']['data']['localeListContinents']['total']); }