You are here

public function Basics::testFrontpage in Video Filter 8

Verify the front page works.

File

tests/src/Functional/Basics.php, line 29

Class

Basics
Test basic functionality of Video Filter module.

Namespace

Drupal\Tests\video_filter\Functional

Code

public function testFrontpage() {

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

  // With nothing else configured the front page just has a login form.
  $this
    ->assertText('Enter your Drupal username.');
}