Skip to content

Commit

Permalink
Fix QueueTest::testGetName() fails when the pecl extension is used
Browse files Browse the repository at this point in the history
  • Loading branch information
Eugene Leonovich committed Apr 3, 2017
1 parent 8799d06 commit f2a4838
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/Unit/QueueTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@ public function provideConstructorInvalidArgumentData()

public function testGetName()
{
$clientClass = class_exists('Tarantool') ? 'Tarantool' : 'Tarantool\Client\Client';
$client = $this->getMockBuilder($clientClass)
$client = $this->getMockBuilder('Tarantool\Client\Client')
->disableOriginalConstructor()
->getMock();

Expand Down

0 comments on commit f2a4838

Please sign in to comment.