Skip to content

Commit

Permalink
Fixed some tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mschindler committed Jun 14, 2016
1 parent 81839d8 commit 9c2921c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/Tests/Fhp/ConnectionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ class ConnectionTest extends \PHPUnit_Framework_TestCase

public function setUp()
{
$this->adapter = $this->getMockBuilder(Curl::class)
$this->adapter = $this->getMockBuilder('\Fhp\Adapter\Curl')
->disableOriginalConstructor()
->setMethods(['send'])
->getMock();

$this->message = $this->getMockBuilder(Message::class)
$this->message = $this->getMockBuilder('\Fhp\Message\Message')
->disableOriginalConstructor()
->getMock();
}
Expand Down
2 changes: 1 addition & 1 deletion lib/Tests/Fhp/Message/MessageTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public function test_get_encrypted_segments()
$this->assertInternalType('array', $segments);

foreach ($segments as $segment) {
$this->assertInstanceOf(AbstractSegment::class, $segment);
$this->assertInstanceOf('\Fhp\Segment\AbstractSegment', $segment);
}
}
}

0 comments on commit 9c2921c

Please sign in to comment.