We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7dfc822 commit 88f57fdCopy full SHA for 88f57fd
tests/src/classes/crm/company/companyTest.php
@@ -12,6 +12,7 @@
12
use Bitrix24\CRM\Company;
13
use Bitrix24\Contracts\iBitrix24;
14
15
+
16
/**
17
* @package Bitrix24
18
*/
@@ -27,11 +28,11 @@ public function testUpdateCallsClientWithIdAndFields()
27
28
29
//silly mocking in PHPUnit 4.8
30
$methods = array();
- $ref = new \ReflectionClass(iBitrix24::class);
31
+ $ref = new \ReflectionClass('Bitrix24\\Contracts\\iBitrix24');
32
foreach ($ref->getMethods() as $method) {
33
$methods[] = $method->getName();
34
}
- $client = $this->getMockBuilder(iBitrix24::class)
35
+ $client = $this->getMockBuilder('Bitrix24\\Contracts\\iBitrix24')
36
->setMethods($methods)
37
->getMock();
38
$client->expects($this->once())
0 commit comments