You are here

function SpamSpanBasicTestCase::setUp in SpamSpan filter 6

Implementation of setUp().

Overrides DrupalWebTestCase::setUp

File

./spamspan.test, line 24
Tests for the SpamSpan module

Class

SpamSpanBasicTestCase
@file Tests for the SpamSpan module

Code

function setUp() {
  parent::setUp('spamspan');

  // set up required defaults
  variable_set('spamspan_userclass', 'u');
  variable_set('spamspan_domainclass', 'd');
  variable_set('spamspan_anchorclass', 't');
  variable_set('spamspan_at', ' [at] ');
  variable_set('spamspan_use_graphic', 0);
}