public function SiteBannerRenderingUnitTestCase::setUp in Site Banner 7
Test setup function.
Overrides DrupalWebTestCase::setUp
File
- ./
site_banner.test, line 101
Class
- SiteBannerRenderingUnitTestCase
- Implements tests for checking that banner rendering functions are correct.
Code
public function setUp() {
parent::setUp('site_banner');
variable_set('site_banner_status', TRUE);
variable_set('site_banner_debug_status', FALSE);
variable_set('site_banner_text', 'TEST BANNER TEXT');
variable_set('site_banner_text_color', '#FFFFFF');
variable_set('site_banner_background_color', '#000000');
}