Skip to content

Commit c0c575f

Browse files
GrahamCampbellpkolmann
authored andcommitted
Update TestCase.php
1 parent 0392270 commit c0c575f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/Api/TestCase.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,13 @@
1717
use Gitlab\Client;
1818
use PHPUnit\Framework\TestCase as BaseTestCase;
1919
use Psr\Http\Client\ClientInterface;
20+
use PHPUnit\Framework\MockObject\MockObject;
2021

2122
abstract class TestCase extends BaseTestCase
2223
{
2324
abstract protected function getApiClass(): string;
2425

25-
protected function getApiMock(array $methods = []): \PHPUnit\Framework\MockObject\MockObject
26+
protected function getApiMock(array $methods = []): MockObject
2627
{
2728
$httpClient = $this->getMockBuilder(ClientInterface::class)
2829
->onlyMethods(['sendRequest'])

0 commit comments

Comments
 (0)