Skip to content

Commit

Permalink
fix: ocListProvidersApi test error
Browse files Browse the repository at this point in the history
  • Loading branch information
ferishili committed Nov 13, 2023
1 parent 34b46fb commit c5c4902
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Unit/OcListProvidersApiTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public function get_providers_and_provider_list(): void
$providers = $response['body'];
if (!empty($providers) && is_array($providers)) {
$provider = $providers[array_rand($providers)];
$responseList = $this->ocListProvidersApi->get($provider);
$responseList = $this->ocListProvidersApi->getList($provider);
$this->assertSame(200, $responseList['code'], 'failure to get provider list');
} else {
$this->markTestIncomplete('No provider to complete the test!');
Expand Down

0 comments on commit c5c4902

Please sign in to comment.