You are here

public function Fast404CustomReponseTestCase::test410Response in Fast 404 7

File

./fast_404.test, line 107
Tests for fast_404.module.

Class

Fast404CustomReponseTestCase
Class Fast404CustomReponseTestCase

Code

public function test410Response() {
  variable_set('fast_404_path_check', TRUE);
  variable_set('fast_404_return_gone', TRUE);
  $this
    ->drupalGet('notdrupal');
  $this
    ->assertResponse(410);
}