File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 55namespace Hypervel \Tests \ApiClient ;
66
77use BadMethodCallException ;
8+ use Hypervel \ApiClient \ApiRequest ;
89use Hypervel \ApiClient \ApiResource ;
9- use Hypervel \HttpClient \Request ;
10- use Hypervel \HttpClient \Response ;
10+ use Hypervel \ApiClient \ApiResponse ;
1111use PHPUnit \Framework \MockObject \MockObject ;
1212use PHPUnit \Framework \TestCase ;
1313
1818class 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 );
You can’t perform that action at this time.
0 commit comments