Skip to content

Commit 16ca561

Browse files
committed
fix: fix ApiResourceTest
1 parent d98f350 commit 16ca561

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/ApiClient/ApiResourceTest.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
namespace Hypervel\Tests\ApiClient;
66

77
use BadMethodCallException;
8+
use Hypervel\ApiClient\ApiRequest;
89
use Hypervel\ApiClient\ApiResource;
9-
use Hypervel\HttpClient\Request;
10-
use Hypervel\HttpClient\Response;
10+
use Hypervel\ApiClient\ApiResponse;
1111
use PHPUnit\Framework\MockObject\MockObject;
1212
use PHPUnit\Framework\TestCase;
1313

@@ -18,12 +18,12 @@
1818
class ApiResourceTest extends TestCase
1919
{
2020
/**
21-
* @var MockObject&Response
21+
* @var MockObject&ApiResponse
2222
*/
2323
private $response;
2424

2525
/**
26-
* @var MockObject&Request
26+
* @var MockObject&ApiRequest
2727
*/
2828
private $request;
2929

@@ -34,8 +34,8 @@ protected function setUp(): void
3434
parent::setUp();
3535

3636
// Create mock objects for the Response and Request
37-
$this->response = $this->createMock(Response::class);
38-
$this->request = $this->createMock(Request::class);
37+
$this->response = $this->createMock(ApiResponse::class);
38+
$this->request = $this->createMock(ApiRequest::class);
3939

4040
// Create the resource with our mocks
4141
$this->resource = new ApiResource($this->response, $this->request);

0 commit comments

Comments
 (0)