X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/f62c65e9d94867de30f7b1379100ef0d08781838..b8a73192128b162ea32bf2f622875a543a39d955:/test/php/Nominatim/DatabaseErrorTest.php diff --git a/test/php/Nominatim/DatabaseErrorTest.php b/test/php/Nominatim/DatabaseErrorTest.php index da156493..e24049ca 100644 --- a/test/php/Nominatim/DatabaseErrorTest.php +++ b/test/php/Nominatim/DatabaseErrorTest.php @@ -1,4 +1,12 @@ 'two')); - $this->assertRegExp('/two/', $oErr->getSqlDebugDump()); + $this->assertStringContainsString('two', $oErr->getSqlDebugDump()); } }