diff --git a/test/classes/Dbi/DbiDummyTest.php b/test/classes/Dbi/DbiDummyTest.php index 418f3594a0..82de9d899f 100644 --- a/test/classes/Dbi/DbiDummyTest.php +++ b/test/classes/Dbi/DbiDummyTest.php @@ -135,4 +135,17 @@ class DbiDummyTest extends TestCase ], ]; } + + /** + * Test for string escaping + * + * @return void + */ + public function testEscapeString(): void + { + $this->assertEquals( + 'a', + $GLOBALS['dbi']->escapeString('a') + ); + } }