]> git.mxchange.org Git - friendica.git/blobdiff - tests/src/Core/SystemTest.php
Merge pull request #11195 from annando/issue-10966
[friendica.git] / tests / src / Core / SystemTest.php
index 95219bc32c8458ee63b19a2b5ba8f60d64783ef8..8c25fc6a23a84f7c883b2a2d2bc939b8cd3cc3dd 100644 (file)
@@ -42,7 +42,7 @@ class SystemTest extends TestCase
        private function assertGuid($guid, $length, $prefix = '')
        {
                $length -= strlen($prefix);
-               self::assertRegExp("/^" . $prefix . "[a-z0-9]{" . $length . "}?$/", $guid);
+               self::assertMatchesRegularExpression("/^" . $prefix . "[a-z0-9]{" . $length . "}?$/", $guid);
        }
 
        public function testGuidWithoutParameter()