Add a test for escapeString

Signed-off-by: William Desportes <williamdes@wdes.fr>
This commit is contained in:
William Desportes 2020-02-22 16:30:53 +01:00
parent ace65393ed
commit 6bf1309d12
No known key found for this signature in database
GPG Key ID: 90A0EF1B8251A889

View File

@ -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')
);
}
} }