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 2e62342 commit 52c4cedCopy full SHA for 52c4ced
tests/Transporters/HttpTransporter.php
@@ -105,7 +105,8 @@
105
expect($e->getMessage())->toBe('Incorrect API key provided: foo. You can find your API key at https://platform.openai.com.')
106
->and($e->getErrorMessage())->toBe('Incorrect API key provided: foo. You can find your API key at https://platform.openai.com.')
107
->and($e->getErrorCode())->toBe('invalid_api_key')
108
- ->and($e->getErrorType())->toBe('invalid_request_error');
+ ->and($e->getErrorType())->toBe('invalid_request_error')
109
+ ->and($e->getStatusCode())->toBe(401);
110
});
111
112
0 commit comments