Explorar o código

there can be other buckets in the account

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@17575 44c647ce-9c0f-0410-b52a-842ac1e357ba
stas %!s(int64=16) %!d(string=hai) anos
pai
achega
43d251b710
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      tests/Zend/Service/Amazon/S3/StreamTest.php

+ 2 - 2
tests/Zend/Service/Amazon/S3/StreamTest.php

@@ -209,8 +209,8 @@ class Zend_Service_Amazon_S3_StreamTest extends PHPUnit_Framework_TestCase
         closedir($e);
 
         // Check that each bucket is in our original list
-        foreach ($online_buckets as $bucket) {
-            $this->assertContains($bucket, $buckets);
+        foreach ($buckets as $bucket) {
+            $this->assertContains($bucket, $online_buckets);
         }
 
         // Remove the buckets