Преглед изворни кода

[GENERIC] Resources:

- fixed the testbed to throw out ALL problems instead of only the first one

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@22360 44c647ce-9c0f-0410-b52a-842ac1e357ba
thomas пре 16 година
родитељ
комит
5c2843bbb1
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      tests/resources/languages/Zend_ValidateTest.php

+ 2 - 2
tests/resources/languages/Zend_ValidateTest.php

@@ -195,8 +195,8 @@ class resources_languages_Zend_ValidateTest extends PHPUnit_Framework_TestCase
     {
     {
         $errors = array();
         $errors = array();
         $cnt    = 0;
         $cnt    = 0;
-        foreach ($this->_translations['en'] as $key => $value) {
-            foreach ($this->_translations as $lang => $translation) {
+        foreach ($this->_translations as $lang => $translation) {
+            foreach ($this->_translations['en'] as $key => $value) {
                 if ($lang == 'en') {
                 if ($lang == 'en') {
                     continue;
                     continue;
                 }
                 }