mirror of
https://github.com/e107inc/e107.git
synced 2025-08-29 09:10:23 +02:00
Fix for e_form::name2id() when = and ? characters are detected is found.
This commit is contained in:
@@ -741,12 +741,17 @@ class e_formTest extends \Codeception\Test\Unit
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
*/
|
||||
public function testName2id()
|
||||
{
|
||||
$text = "Something?hello=there and test";
|
||||
$expected = 'something-hello-there-and-test';
|
||||
|
||||
$result = $this->_frm->name2id($text);
|
||||
|
||||
$this->assertEquals($expected, $result);
|
||||
}
|
||||
|
||||
/*
|
||||
public function testFormat_options()
|
||||
{
|
||||
|
||||
|
Reference in New Issue
Block a user