Browse Source

[ZF-11902] Convert uses of assertEmpty to assertTrue(empty(...)) to maintain PHPUnit 3.4 compatibility

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@24564 44c647ce-9c0f-0410-b52a-842ac1e357ba
adamlundrigan 14 years ago
parent
commit
773cefc8f3

+ 1 - 1
tests/Zend/Application/Resource/MailTest.php

@@ -225,7 +225,7 @@ class Zend_Application_Resource_MailTest extends PHPUnit_Framework_TestCase
         $resource->setBootstrap($this->bootstrap);
         $resource->setBootstrap($this->bootstrap);
         $resource->setOptions($options);
         $resource->setOptions($options);
 
 
-        $this->assertEmpty($resource->getMail()->parameters);
+        $this->assertTrue(empty($resource->getMail()->parameters));
     }
     }
 
 
 }
 }

+ 1 - 1
tests/Zend/Ldap/Node/OfflineTest.php

@@ -615,7 +615,7 @@ class Zend_Ldap_Node_OfflineTest extends Zend_Ldap_TestCase
         );
         );
 
 
         $node = Zend_Ldap_Node::fromArray($data, true);
         $node = Zend_Ldap_Node::fromArray($data, true);
-        $this->assertEmpty($node->getChangedData());
+        $this->assertTrue(empty($node->getChangedData()));
     }
     }
 
 
 	/**
 	/**