Permalink
Browse files

REmoving call to deprecated method in PHPUnit

  • Loading branch information...
1 parent 0c79ad8 commit ac2538b10834590ec5ab11013ce6a4bcade0f4a3 @lorenzo lorenzo committed Jul 14, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Cake/Test/Case/View/Helper/FormHelperTest.php
@@ -7313,7 +7313,7 @@ public function testIntrospectModelFromRequest() {
$this->assertFalse(ClassRegistry::isKeySet('TestPluginPost'));
$this->Form->create('TestPluginPost');
$this->assertTrue(ClassRegistry::isKeySet('TestPluginPost'));
- $this->assertType('TestPluginPost', ClassRegistry::getObject('TestPluginPost'));
+ $this->assertInstanceOf('TestPluginPost', ClassRegistry::getObject('TestPluginPost'));
CakePlugin::unload();
App::build();

0 comments on commit ac2538b

Please sign in to comment.