1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-27 00:05:46 +02:00

Fixes #4758 Admin-UI hidden field $parms were not being applied.

This commit is contained in:
Cameron
2022-04-19 07:15:23 -07:00
parent d06a4c27b9
commit 4d6a5ea310
2 changed files with 5 additions and 4 deletions

View File

@@ -866,12 +866,13 @@ class e_formTest extends \Codeception\Test\Unit
{
}
*/
public function testHidden()
{
$result = $this->_frm->hidden('name','on',['id'=>'my-field']);
$this->assertSame("<input type='hidden' name='name' value='on' id='my-field' />", $result);
}
/*
public function testToken()
{