Skip to content
This repository was archived by the owner on Nov 28, 2023. It is now read-only.

Commit 043e62f

Browse files
committed
fix: tests
1 parent 777ae0d commit 043e62f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/V1Test.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
$accessToken = getenv('OPENAI_ACCESS_TOKEN');
66
$chatGPT = new V1();
7-
$chatGPT->addAccount($accessToken, 'test', 'gpt-4');
7+
$chatGPT->addAccount($accessToken, 0, 'gpt-4');
88
$test = $chatGPT->ask('Hello');
99
foreach ($test as $answer) {
1010
$conversationId = $answer['conversation_id'];
@@ -51,5 +51,4 @@
5151
it('should return plugins list', function () use ($chatGPT) {
5252
$return = $chatGPT->getPlugins();
5353
$this->assertIsArray($return);
54-
$this->assertNotEmpty($return);
5554
})->group('working');

0 commit comments

Comments
 (0)