Permalink
Browse files

Update to phpunit 3.6+

git-svn-id: http://svn.php.net/repository/pear/packages/SOAP/trunk@322286 c90b9560-bf6c-de11-be94-00142212c4b1
  • Loading branch information...
1 parent efcc895 commit a1c94bfef9030a6c5ccf580e52546b6b6a21e685 @CloCkWeRX CloCkWeRX committed Jan 14, 2012
Showing with 7 additions and 7 deletions.
  1. +7 −7 tests/SOAP_BugsTest.php
View
@@ -161,11 +161,11 @@ public function testBug1312()
$parser = new SOAP_Parser($msg);
$soapval = $parser->getResponse();
- $this->assertType('array', $soapval->value);
- $this->assertType('array', $soapval->value[0]->value);
+ $this->assertInternalType('array', $soapval->value);
+ $this->assertInternalType('array', $soapval->value[0]->value);
$this->assertEquals('anArray', $soapval->value[0]->name);
//anArray -> item #3 is an object according to bug report
- $this->assertType('array', $soapval->value[0]->value[2]->value);
+ $this->assertInternalType('array', $soapval->value[0]->value[2]->value);
}
@@ -187,10 +187,10 @@ public function testBug2627()
$client = new SOAP_Base();
$dec = $client->_decode($val);
- $this->assertType('object', $dec);
- $this->assertType('string', $dec->zero);
- $this->assertType('array' , $dec->one);
- $this->assertType('array' , $dec->two);
+ $this->assertInternalType('object', $dec);
+ $this->assertInternalType('string', $dec->zero);
+ $this->assertInternalType('array' , $dec->one);
+ $this->assertInternalType('array' , $dec->two);
$this->assertEquals(2, count($dec->one));
$this->assertEquals(2, count($dec->two));

0 comments on commit a1c94bf

Please sign in to comment.