Skip to content

Instantly share code, notes, and snippets.

@e2thex
Created July 5, 2012 20:27
Show Gist options
  • Select an option

  • Save e2thex/3056240 to your computer and use it in GitHub Desktop.

Select an option

Save e2thex/3056240 to your computer and use it in GitHub Desktop.
web test not working
//class SPSDrupalVariableControllerUnitTest extends DrupalUnitTestCase {
class SPSDrupalVariableControllerUnitTest extends DrupalWebTestCase {
static function getInfo() {
return array(
'name' => 'SPS DrupalVariableController Unit Tests',
'description' => 'Test the public interface to the DrupalVariableController object',
'group' => 'SPS',
);
}
/**
* override setUp
*
* we need the Variable module
*/
public function setUp() {
parent::setUp('sps', 'xautoload');
//parent::setUp(array('variable', 'xautoload', 'sps', 'sps_test'));
}
public function testTestStorageController() {
print_r(array(module_exists("xautoload"), module_exists('variable')));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment