diff --git a/test/Manticoresearch/Endpoints/Nodes/TablesTest.php b/test/Manticoresearch/Endpoints/Nodes/TablesTest.php index eb2b2b7d..d7438397 100644 --- a/test/Manticoresearch/Endpoints/Nodes/TablesTest.php +++ b/test/Manticoresearch/Endpoints/Nodes/TablesTest.php @@ -34,11 +34,10 @@ public function testTables() { $helper = new PopulateHelperTest(); $client = $helper->getClient(); $response = $client->nodes()->tables(); - // Adding extra try-catch to provide compatibility with previous Manticore versions - try { - $this->assertEquals(['products' => 'rt'], $response); - } catch (\Manticoresearch\Exceptions\ResponseException $e) { - $this->assertEquals(['test' => 'rt'], $response); - } + $result = [ + 'Table' => 'products', + 'Type' => 'rt', + ]; + $this->assertEquals($result, $response); } }