You are here

public function Maintenance200TestCase::testMaintenance200Status in Maintenance 200 7

File

./maintenance200.test, line 34
Tests functionality of the Maintenance 200 module.

Class

Maintenance200TestCase
Tests functionality of the Maintenance 200 module.

Code

public function testMaintenance200Status() {
  $this
    ->assertTrue(variable_get('maintenance_mode', FALSE), 'Site is in maintenance mode.');
  $this
    ->drupalGet('');
  $this
    ->assertResponse(200, 'Site returns a 200 Status code.');
}