public function DrupalOrgTest::testGetTip in Freelinking 8.3
Same name and namespace in other branches
- 4.0.x tests/src/Unit/Plugin/freelinking/DrupalOrgTest.php \Drupal\Tests\freelinking\Unit\Plugin\freelinking\DrupalOrgTest::testGetTip()
Assert that getTip() is functional.
File
- tests/
src/ Unit/ Plugin/ freelinking/ DrupalOrgTest.php, line 60
Class
- DrupalOrgTest
- Tests the drupalorg plugin.
Namespace
Drupal\Tests\freelinking\Unit\Plugin\freelinkingCode
public function testGetTip() {
$plugin = $this
->getPlugin();
$this
->assertEquals('Click to view on drupal.org.', $plugin
->getTip()
->render());
}