Issues

ZF-4472: testOptions(Zend_Translate_Adapter_CsvTest) unit tests problem

Description

{panel} 10) testOptions(Zend_Translate_Adapter_CsvTest) Failed asserting that two arrays are equal. --- Expected +++ Actual @@ -1,11 +1,11 @@ Array ( - [delimiter] => ; - [testoption] => testkey - [clear] => + [clear] => 1 [scan] => [locale] => en + [ignore] => . + [delimiter] => ; [length] => 0 [enclosure] => " - [ignore] => . + [testoption] => testkey ) {panel}

Comments

This one is interesting....

He expects "delimiter= ;" but found "delimiter=;"... same for "testoption" and "ignore".

Clear should be false but he got 1 ?? Could it be that phpunit does no longer ignore the order of array entries ?

It seems order is important.


$this->assertTrue($arr == $expectedArr)

should work.

Probably fixed with r11751

Yes, fixed.

Changing issues in preparation for the 1.7.0 release.