You are here

public function PublishContentButtonTests::setUp in Publish Content 7

Test setup instructions.

Overrides DrupalWebTestCase::setUp

File

tests/publishcontent.test, line 587
Unit tests for Publish Content module.

Class

PublishContentButtonTests
Test permissions with the button method.

Code

public function setUp() {
  parent::setUp('publishcontent', 'publishcontent_test');
  variable_set('publishcontent_method', PUBLISHCONTENT_METHOD_BUTTON);
}