You are here

private function SiteStatusMessageTestCase::setDefaultValidPost in Site Status Message 7

Set default post data.

1 call to SiteStatusMessageTestCase::setDefaultValidPost()
SiteStatusMessageTestCase::setUp in tests/site_status_message.test
Sets up a Drupal site for running functional and integration tests.

File

tests/site_status_message.test, line 267
Tests for Site Status Message module.

Class

SiteStatusMessageTestCase
Class SiteStatusMessageTestCase.

Code

private function setDefaultValidPost() {
  $this->validFormPost['site_status_message_message'] = 'This is a test message.';
  $this->validFormPost['site_status_message_showlink'] = FALSE;
  $this->validFormPost['site_status_message_display_options'] = 'both';
}