X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/f62c65e9d94867de30f7b1379100ef0d08781838..086116b3a14f84a5d23b33acd5390245aea88d71:/test/php/Nominatim/DatabaseErrorTest.php?ds=inline 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()); } }