From 07dff24fae149ff47efa4b4bcb631fadf191a76b Mon Sep 17 00:00:00 2001 From: Denis Goleshchikhin Date: Thu, 6 Aug 2026 15:22:11 +0300 Subject: [PATCH] Avoid checking deprecated protocol versions in tests --- tests/ApiClientTest.php | 2 +- tests/ServerTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/ApiClientTest.php b/tests/ApiClientTest.php index f5e2fb12..2dfa6e2e 100644 --- a/tests/ApiClientTest.php +++ b/tests/ApiClientTest.php @@ -124,7 +124,7 @@ public function testMultiRequest() $protos = (array) $responses[0]->protos->proto; $generalInfo = $responses[1]; - $this->assertContains('1.6.6.0', $protos); + $this->assertContains('1.6.9.1', $protos); $this->assertGreaterThan(0, strlen($generalInfo->gen_info->server_name)); } diff --git a/tests/ServerTest.php b/tests/ServerTest.php index 760e30f2..3861a876 100644 --- a/tests/ServerTest.php +++ b/tests/ServerTest.php @@ -9,7 +9,7 @@ public function testGetProtos() { $protos = static::$client->server()->getProtos(); $this->assertIsArray($protos); - $this->assertContains('1.6.3.0', $protos); + $this->assertContains('1.6.9.1', $protos); } public function testGetGenInfo()