Commit 9fbd982d authored by Katherine Walker's avatar Katherine Walker Committed by Katherine Walker

PHPLIB-300 Test suite should not query featureCompatibilityVersion for server versions before 3.4

parent f7c68648
...@@ -78,6 +78,9 @@ abstract class FunctionalTestCase extends TestCase ...@@ -78,6 +78,9 @@ abstract class FunctionalTestCase extends TestCase
protected function getFeatureCompatibilityVersion() protected function getFeatureCompatibilityVersion()
{ {
if (version_compare($this->getServerVersion(), '3.4.0', '<')) {
return $this->getServerVersion();
}
$cursor = $this->manager->executeCommand( $cursor = $this->manager->executeCommand(
"admin", "admin",
new Command(['getParameter' => 1, 'featureCompatibilityVersion' => 1]) new Command(['getParameter' => 1, 'featureCompatibilityVersion' => 1])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment