You are here

public function IntegrationTest::configureAndUsePreviewImageStyle in Acquia Content Hub 8

Configure and use content hub preview image style.

File

tests/src/Functional/IntegrationTest.php, line 364

Class

IntegrationTest
Tests the overall functionality of the Acquia Content Hub module.

Namespace

Drupal\Tests\acquia_contenthub\Functional

Code

public function configureAndUsePreviewImageStyle() {
  $this
    ->drupalGet('admin/config/services/acquia-contenthub/configuration');
  $this
    ->assertRaw('admin/structure/types/manage/article#edit-acquia-contenthub', 'Preview image shortcut links exist on the page.');
  $this
    ->drupalGet('admin/structure/types/manage/article');
  $this
    ->assertText($this
    ->t('Acquia Content Hub'));
}