function MatcherCrudTest::testOverview in Linkit 8.4
Test the overview page.
File
- src/
Tests/ MatcherCrudTest.php, line 47 - Contains \Drupal\linkit\Tests\MatcherCrudTest.
Class
- MatcherCrudTest
- Tests adding, listing, updating and deleting matchers on a profile.
Namespace
Drupal\linkit\TestsCode
function testOverview() {
$this
->drupalGet(Url::fromRoute('linkit.matchers', [
'linkit_profile' => $this->linkitProfile
->id(),
]));
$this
->assertText(t('No matchers added.'));
$this
->assertLinkByHref(Url::fromRoute('linkit.matcher.add', [
'linkit_profile' => $this->linkitProfile
->id(),
])
->toString());
}