| Conditions | 1 |
| Paths | 1 |
| Total Lines | 6 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | public function testCorrectLinkIsContained() |
||
| 14 | { |
||
| 15 | $button = new GridFieldLinkButton('https://addons.silverstripe.org', 'Explore Addons', 'test'); |
||
| 16 | $output = $button->getHTMLFragments(null); |
||
| 17 | |||
| 18 | $this->assertStringContainsString('https://addons.silverstripe.org', $output['test']); |
||
| 19 | } |
||
| 21 |