You are here

public function ServicesArgumentsTestCase::populateEndpointFAPI in Services 7.3

Creates a data array for populating an endpoint creation form.

Return value

An array of fields for fully populating an endpoint creation form.

Overrides ServicesWebTestCase::populateEndpointFAPI

1 call to ServicesArgumentsTestCase::populateEndpointFAPI()
ServicesArgumentsTestCase::saveNewEndpoint in tests/functional/ServicesArgumentsTests.test

File

tests/functional/ServicesArgumentsTests.test, line 152

Class

ServicesArgumentsTestCase

Code

public function populateEndpointFAPI() {
  return array(
    'name' => 'machinename',
    'title' => $this
      ->randomName(20),
    'path' => $this
      ->randomName(10),
    'server' => 'rest_server',
  );
}