NoAuthEndpointTestRunner.test in Services 6.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.
*
*/
// Parent class holds the actual tests
require_once 'ServicesEndpointTests.test';
/**
* Sets conditions for a no-authentication set of endpoint test runs.
*/
class NoAuthEndpointTestRunner extends ServicesEndpointTests {
// Class variables
protected $privilegedUser = NULL;
/**
* Implementation of setUp().
*/
public function setUp() {
parent::setUp();
}
/**
* Implementation of getInfo().
*/
public static function getInfo() {
return array(
'name' => t('Services Endpoint tests, no auth'),
'description' => t('Test the endpoint functionality when no authentication is turned on'),
'group' => t('Services'),
);
}
}
Classes
Name![]() |
Description |
---|---|
NoAuthEndpointTestRunner | Sets conditions for a no-authentication set of endpoint test runs. |