added additional test

This commit is contained in:
Roland Gruber 2018-05-01 09:51:41 +02:00
parent 7959b1dc5d
commit f9198ce9e1
1 changed files with 1 additions and 0 deletions

View File

@ -157,6 +157,7 @@ class PlaFunctionsTest extends PHPUnit_Framework_TestCase {
$keysWanted = array_keys($dataWanted);
$keysNew = array_keys($dataNew);
foreach ($keysWanted as $index => $key) {
$this->assertEquals($keysWanted[$index], $keysNew[$index]);
if (is_array($dataWanted[$key])) {
$this->compareArray($dataWanted[$key], $dataNew[$keysNew[$index]]);
}