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