1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-29 01:00:20 +02:00

Fix for e_form::name2id() when = and ? characters are detected is found.

This commit is contained in:
Cameron
2020-03-06 17:06:32 -08:00
parent bdb78a186a
commit 91d69898df
2 changed files with 8 additions and 3 deletions

View File

@@ -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()
{