We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f611e8 commit b07e2ebCopy full SHA for b07e2eb
tests/Feature/ConversationModelsTest.php
@@ -18,10 +18,9 @@ public function testCanCreateAModel(): void
18
];
19
20
$this->mockApiCall()->allows()->post(static::RESOURCE_PATH, $data)->andReturns([]);
21
- $this->mockConversations()->models->create($data);
22
23
- $this->expectExceptionMessage('OpenAI API error: Incorrect API key provided: OPENAI_A**_KEY');
24
- $this->client()->conversations->models->create($data);
+ $response = $this->mockConversations()->models->create($data);
+ $this->assertEquals([], $response);
25
}
26
27
public function testCanRetrieveAllModels(): void
0 commit comments