You are here

public function ImageWidgetCropExamplesTest::testInstalled in Image Widget Crop 8

Tests if image_widget_crop_example is correctly installed.

File

modules/image_widget_crop_examples/src/Tests/ImageWidgetCropExamplesTest.php, line 45

Class

ImageWidgetCropExamplesTest
Tests image_widget_crop_examples.

Namespace

Drupal\image_widget_crop_examples\Tests

Code

public function testInstalled() {
  $this
    ->drupalGet('');
  $this
    ->assertTitle('Image Widget Crop examples | Drupal');
  $this
    ->assertText('Image Widget Crop examples');
  $this
    ->assertText('Welcome to Image Widget Crop example.');
  $this
    ->assertText('Image Widget Crop provides an interface for using the features of the Crop API.');
  $this
    ->assertText('You can test the functionality with custom content types created for the demonstration of features from Image Widget Crop:');
}