You are here

public function FapeBasicTestCase::testTheSiteStillWorks in Field API Pane Editor (FAPE) 7

Make sure the site still works. For now just check the front page.

File

tests/fape.test, line 36
Some tests for the FAPE module.

Class

FapeBasicTestCase
Test basic functionality of FAPE.

Code

public function testTheSiteStillWorks() {

  // Load the front page.
  $this
    ->drupalGet('<front>');

  // Confirm that the site didn't throw a server error or something else.
  $this
    ->assertResponse(200);

  // Confirm that the front page contains the standard text.
  $this
    ->assertText(t('Welcome to Drupal'));
}