function ClientsConnectionDrupalRESTTestLogin::testLabels in Web Service Clients 7.3
The labels for the test.
(This is because it would seem you can't define class variables using expressions.)
Overrides ClientsConnectionTestingInterface::testLabels
File
- connections/
clients_drupal_rest/ clients_drupal_rest.testing.inc, line 18 - Contains classes for Client connection testing.
Class
- ClientsConnectionDrupalRESTTestLogin
- Test basic connection to a Drupal Services connection.
Code
function testLabels() {
return array(
'label' => t('Test login'),
'description' => t('Test the basic connection to the site by logging in the user.'),
'button' => t('Connect'),
);
}