NoAuthEndpointTestRunner.test in Services 7.3
Same filename and directory in other branches
This subclass runs the tests with setUp set for services using no authentication. Tests are to be held in the parent class.
File
tests/functional/NoAuthEndpointTestRunner.testView source
<?php
/**
* @file
* This subclass runs the tests with setUp set for services using no
* authentication. Tests are to be held in the parent class.
*
*/
/**
* Sets conditions for a no-authentication set of endpoint test runs.
*/
class NoAuthEndpointTestRunner extends ServicesEndpointTests {
// Class variables
protected $privilegedUser = NULL;
/**
* Implementation of getInfo().
*/
public static function getInfo() {
return array(
'name' => 'Services Endpoint tests, no auth',
'description' => 'Test the endpoint functionality when no authentication is turned on',
'group' => 'Services',
// The libraries module is required by rest_service, which is used by
// ServicesEndpointTests.
'dependencies' => array(
'ctools',
'libraries',
),
);
}
}
Classes
Name![]() |
Description |
---|---|
NoAuthEndpointTestRunner | Sets conditions for a no-authentication set of endpoint test runs. |