소스 검색

[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 년 전
부모
커밋
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();
         $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') {
                     continue;
                 }