You are here

public function CopyrightBlockTestCase::testDifferentStartDate in Copyright Block module 7.2

File

./copyright_block.test, line 36

Class

CopyrightBlockTestCase

Code

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