Re: svn: /pear/packages/Image_Text/trunk/tests/ TextTest.php imageisthesameTest.php
| From: | Christian Weiske | Date: | Sat, 12 Nov 2011 07:53:56 +0000 |
| Subject: | Re: svn: /pear/packages/Image_Text/trunk/tests/ TextTest.php imageisthesameTest.php | ||
| References: | 1 | Groups: | php.pear.cvs |
| Request: | Send a blank email to pear-cvs+get-62676@lists.php.net to get a copy of this message | ||
Hello Daniel,
> Fixed tests for phpunit 3.6, skip if gd isn't available
> - $this->assertType('Image_Text', $i);
> + $this->assertSame('Image_Text', get_class($i));
This is wrong. PHPUnit has the assertInstanceOf() method for that.
--
Regards/Mit freundlichen Grüßen
Christian Weiske
-=≡ Geeking around in the name of science since 1982 ≡=-
Attachment: [application/pgp-signature] signature.asc
Attachment: [application/pgp-signature] signature.asc