Skip to content

Commit

Permalink
Correctly test destructor
Browse files Browse the repository at this point in the history
  • Loading branch information
ebi committed Sep 17, 2010
1 parent c745500 commit 692a2dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/transport/DavexClient.php
Expand Up @@ -101,7 +101,7 @@ public function testConstructor() {
* @covers jackalope_transport_DavexClient::__destruct
*/
public function testDestructor() {
$transport = $this->getTransportMock();
$transport = new jackalope_transport_DavexClient_Mock('testuri');
$transport->__destruct();
$this->assertEquals(null, $transport->curl);
}
Expand Down

0 comments on commit 692a2dc

Please sign in to comment.