Skip to content

Commit df8b96b

Browse files
authored
test: accept MariaDB version strings in GetVersionTest (#10642)
1 parent b74fff9 commit df8b96b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎tests/system/Database/Live/GetVersionTest.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,6 @@ public function testGetVersion(): void
3939

4040
$version = $this->db->getVersion();
4141

42-
$this->assertMatchesRegularExpression('/\A\d+(\.\d+)*\z/', $version);
42+
$this->assertMatchesRegularExpression('/\A\d+(\.\d+)*(-\S+)?\z/', $version);
4343
}
4444
}

0 commit comments

Comments
 (0)