| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 20 | public function testTrackTemplatesUsed() |
||
| 21 | { |
||
| 22 | $this->get('/Security/login'); |
||
| 23 | |||
| 24 | $templates = SSViewerProxy::getTemplatesUsed(); |
||
| 25 | |||
| 26 | $this->assertNotEmpty($templates); |
||
| 27 | $this->assertContains('/framework/templates/SilverStripe/Forms/Includes/Form.ss', $templates); |
||
| 28 | $this->assertContains('/framework/templates/SilverStripe/Forms/TextField.ss', $templates); |
||
| 29 | } |
||
| 30 | } |
||
| 31 |