Skip to content

Commit

Permalink
BUG: Fix general test
Browse files Browse the repository at this point in the history
  • Loading branch information
miroslav committed Mar 18, 2023
1 parent b3da0e0 commit db25778
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Unit/AIModels/GeneralTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
namespace Unit\AIModels;

use Illuminate\Contracts\Container\BindingResolutionException;
use Illuminate\Support\Collection;
use Itsimiro\OpenAI\Services\AIModels\General;
use Itsimiro\OpenAI\Services\API\ApiService;
use Itsimiro\OpenAI\Services\API\Results\ModelResult;
Expand All @@ -24,9 +25,8 @@ public function testGetModels(): void

$expectedModel = $this->getMockModel();

$dataCollection = $this->getMockBuilder(DataCollection::class)
$dataCollection = $this->getMockBuilder(Collection::class)
->setConstructorArgs([
'dataClass' => ModelResult::class,
'items' => []
])->getMock();

Expand Down

0 comments on commit db25778

Please sign in to comment.