You are here

public function CopyrightBlockTestCase::testDifferentSeparator in Copyright Block module 7.2

File

./copyright_block.test, line 49

Class

CopyrightBlockTestCase

Code

public function testDifferentSeparator() {
  $start_year = 2015;
  $separator = '_';
  $edit = array(
    'regions[bartik]' => 'footer',
    'start_year' => $start_year,
    'separator' => $separator,
  );
  $output = $start_year . $separator . date('Y');
  $this
    ->assertBlockContent($edit, $output);
}