Skip to content

Commit b07e2eb

Browse files
committed
test: update conversationModels typesense v27.0.rc21
1 parent 6f611e8 commit b07e2eb

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tests/Feature/ConversationModelsTest.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,9 @@ public function testCanCreateAModel(): void
1818
];
1919

2020
$this->mockApiCall()->allows()->post(static::RESOURCE_PATH, $data)->andReturns([]);
21-
$this->mockConversations()->models->create($data);
2221

23-
$this->expectExceptionMessage('OpenAI API error: Incorrect API key provided: OPENAI_A**_KEY');
24-
$this->client()->conversations->models->create($data);
22+
$response = $this->mockConversations()->models->create($data);
23+
$this->assertEquals([], $response);
2524
}
2625

2726
public function testCanRetrieveAllModels(): void

0 commit comments

Comments
 (0)