Skip to content

Commit

Permalink
Merge pull request #460 from mayconmedeiroz/bugfix/fix-excepted-param…
Browse files Browse the repository at this point in the history
…eter-of-type-clientfake-vectorstoretest-provided

Fix TypeError in VectorStoresFilesTestResource and VectorStoresFileBatchesTestResource
  • Loading branch information
gehrisandro authored Aug 20, 2024
2 parents d358133 + b6cd1a7 commit b81107c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Testing/Resources/VectorStoresTestResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,11 @@ public function list(array $parameters = []): VectorStoreListResponse

public function files(): VectorStoresFilesContract
{
return new VectorStoresFilesTestResource($this);
return new VectorStoresFilesTestResource($this->fake);
}

public function batches(): VectorStoresFileBatchesContract
{
return new VectorStoresFileBatchesTestResource($this);
return new VectorStoresFileBatchesTestResource($this->fake);
}
}

0 comments on commit b81107c

Please sign in to comment.