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

Issue #4299 - PHP8 fatal error fixes

This commit is contained in:
Cameron
2021-10-17 08:43:07 -07:00
parent 8d968d2ee3
commit 73dfbf0d74
5 changed files with 22 additions and 18 deletions

View File

@@ -855,12 +855,15 @@ class e_formTest extends \Codeception\Test\Unit
{
}
*/
public function testAdmin_button()
{
$result = $this->_frm->admin_button('update_id', "Update", 'update');
$expected = "<button data-loading-icon='fa-spinner' type='submit' name='update_id' value='Update' id='update-id' class='btn update btn-success'><span>Update</span></button>";
$this->assertSame($expected, $result);
}
/*
public function testDefaultButtonClassExists()
{