Skip to content

Commit f2a4838

Browse files
author
Eugene Leonovich
committed
Fix QueueTest::testGetName() fails when the pecl extension is used
1 parent 8799d06 commit f2a4838

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/Unit/QueueTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,7 @@ public function provideConstructorInvalidArgumentData()
4545

4646
public function testGetName()
4747
{
48-
$clientClass = class_exists('Tarantool') ? 'Tarantool' : 'Tarantool\Client\Client';
49-
$client = $this->getMockBuilder($clientClass)
48+
$client = $this->getMockBuilder('Tarantool\Client\Client')
5049
->disableOriginalConstructor()
5150
->getMock();
5251

0 commit comments

Comments
 (0)