Skip to content

Commit b6cd1a7

Browse files
fix Expected parameter of type '\OpenAI\Testing\ClientFake', 'VectorStoresTestResource' provided
1 parent e9ca288 commit b6cd1a7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Testing/Resources/VectorStoresTestResource.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,11 @@ public function list(array $parameters = []): VectorStoreListResponse
4747

4848
public function files(): VectorStoresFilesContract
4949
{
50-
return new VectorStoresFilesTestResource($this);
50+
return new VectorStoresFilesTestResource($this->fake);
5151
}
5252

5353
public function batches(): VectorStoresFileBatchesContract
5454
{
55-
return new VectorStoresFileBatchesTestResource($this);
55+
return new VectorStoresFileBatchesTestResource($this->fake);
5656
}
5757
}

0 commit comments

Comments
 (0)