Browse Source

[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 15 years ago
parent
commit
5c2843bbb1
1 changed files with 2 additions and 2 deletions
  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;
                 }
                 }