public function FontYourFaceSubmoduleInstallTest::testFontYourFaceSections in @font-your-face 8.3
Tests @font-your-face install and admin page shows up.
File
- tests/
src/ Functional/ FontYourFaceSubmoduleInstallTest.php, line 49
Class
- FontYourFaceSubmoduleInstallTest
- Tests that installing @font-your-face submodules is not broken.
Namespace
Drupal\Tests\fontyourface\FunctionalCode
public function testFontYourFaceSections() {
// Font settings page.
$this
->drupalGet(Url::fromRoute('font.settings'));
$this
->assertText(t('Settings form for @font-your-face. Support modules can use this form for settings or to import fonts.'));
$this
->assertSession()
->responseContains(t('Import from websafe_fonts_test'));
}