diff --git a/tests/system/Database/Live/GetVersionTest.php b/tests/system/Database/Live/GetVersionTest.php index cb4e5c1f5386..723d6b2d0c9c 100644 --- a/tests/system/Database/Live/GetVersionTest.php +++ b/tests/system/Database/Live/GetVersionTest.php @@ -39,6 +39,6 @@ public function testGetVersion(): void $version = $this->db->getVersion(); - $this->assertMatchesRegularExpression('/\A\d+(\.\d+)*\z/', $version); + $this->assertMatchesRegularExpression('/\A\d+(\.\d+)*(-\S+)?\z/', $version); } }