public function WikiTest::testGetTip in Freelinking 4.0.x
Same name and namespace in other branches
- 8.3 tests/src/Unit/Plugin/freelinking/WikiTest.php \Drupal\Tests\freelinking\Unit\Plugin\freelinking\WikiTest::testGetTip()
Asserts that getTip is functional.
File
- tests/
src/ Unit/ Plugin/ freelinking/ WikiTest.php, line 54
Class
- WikiTest
- Test the freelinking wiki plugin.
Namespace
Drupal\Tests\freelinking\Unit\Plugin\freelinkingCode
public function testGetTip() {
$plugin = $this
->getPlugin();
$this
->assertEquals('Click to view a wiki page.', $plugin
->getTip()
->render());
}