Re: svn: /pear/packages/Image_Text/trunk/tests/ TextTest.php imageisthesameTest.php

From: Date: Sat, 12 Nov 2011 07:54:39 +0000
Subject: Re: svn: /pear/packages/Image_Text/trunk/tests/ TextTest.php imageisthesameTest.php
References: 1 2  Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-62677@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. Oh, and this is the reason I agree with Alan: We have much better casual review when the mails have diffs. -- Regards/Mit freundlichen Grüßen Christian Weiske -=≡ Geeking around in the name of science since 1982 ≡=-

Attachment: [application/pgp-signature] signature.asc
« previous php.pear.cvs (#62677) next »