Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Commit

Permalink
[test] Replace assertTrue(is_FOO) with assertInternalType('FOO')
Browse files Browse the repository at this point in the history
  • Loading branch information
Maks3w committed May 1, 2015
1 parent aeee471 commit bc1a905
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/BindTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ public function testResourceIsAlwaysReturned()
{
$ldap = new Ldap\Ldap($this->options);
$this->assertNotNull($ldap->getResource());
$this->assertTrue(is_resource($ldap->getResource()));
$this->assertInternalType('resource', $ldap->getResource());
$this->assertEquals(TESTS_ZEND_LDAP_USERNAME, $ldap->getBoundUser());
}

Expand Down

0 comments on commit bc1a905

Please sign in to comment.