You are here

public function TestRestClient::listResources in Salesforce Suite 8.3

Same name and namespace in other branches
  1. 8.4 src/Tests/TestRestClient.php \Drupal\salesforce\Tests\TestRestClient::listResources()
  2. 5.0.x src/Tests/TestRestClient.php \Drupal\salesforce\Tests\TestRestClient::listResources()

Prevent an API call out here.

Overrides RestClient::listResources

File

src/Tests/TestRestClient.php, line 105

Class

TestRestClient
Test Salesforce REST client.

Namespace

Drupal\salesforce\Tests

Code

public function listResources() {
  return (object) [
    'resources' => [],
  ];
}