| Total Complexity | 9 |
| Total Lines | 50 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 17 | class PublicDirectoryTest extends TestCase |
||
| 18 | { |
||
| 19 | protected $projectDir; |
||
| 20 | protected $webDir; |
||
| 21 | protected $publicDir; |
||
| 22 | |||
| 23 | protected function setUp() |
||
| 26 | } |
||
| 27 | |||
| 28 | protected function tearDown() |
||
| 33 | } |
||
| 34 | |||
| 35 | public function testGetPublicDir() |
||
| 36 | { |
||
| 37 | $this->assertEquals($this->projectDir.'/', PublicDirectory::getPublicDir($this->projectDir)); |
||
| 38 | } |
||
| 39 | |||
| 40 | public function testGetWebDirectoryForSf2And3() |
||
| 52 | } |
||
| 53 | } |
||
| 54 | |||
| 55 | public function testGetPublicDirectoryForSf4() |
||
| 67 | } |
||
| 68 | } |
||
| 70 |