You are here

public function GeshiFilterCssTest::testCss in GeSHi Filter for syntax highlighting 8.2

Same name and namespace in other branches
  1. 8 tests/src/Functional/GeshiFilterCssTest.php \Drupal\Tests\geshifilter\Functional\GeshiFilterCssTest::testCss()

Test for creation and use of css.

File

tests/src/Functional/GeshiFilterCssTest.php, line 92

Class

GeshiFilterCssTest
Test for css generation and use in GeshiFilter.

Namespace

Drupal\Tests\geshifilter\Functional

Code

public function testCss() {

  // Test if we can generate the css.
  $this
    ->drupalGet('admin/config/content/formats/geshifilter/generate_css');
  $this
    ->assertRaw('GeSHi Dynamically Generated Stylesheet', 'Test for geshifilter generate css');
}