mirror of
https://github.com/e107inc/e107.git
synced 2025-08-20 21:32:09 +02:00
Fixes #4609 - Quick fix for inconsistent drop-down behavior PHP7 -> PHP8.
This commit is contained in:
@@ -790,11 +790,11 @@ class e_formTest extends \Codeception\Test\Unit
|
||||
|
||||
);
|
||||
|
||||
foreach($tests as $row)
|
||||
foreach($tests as $index => $row)
|
||||
{
|
||||
$actual = $this->_frm->option_multi($row['options'],$row['value']);
|
||||
$actual = str_replace("\n", '', $actual);
|
||||
$this->assertSame($row['expected'], $actual);
|
||||
$this->assertSame($row['expected'], $actual, 'Test #'.$index.' failed');
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user