Completed
Push — master ( 105a13...c2b681 )
by DAOUDI
02:53
created

PublicDirectoryTest::testGetPublicDir()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
/**
3
 * Created by PhpStorm.
4
 * User: sdaoudi
5
 * Date: 02/04/18
6
 * Time: 22:49
7
 */
8
9
namespace SfForward\Tests\Util;
10
11
use PHPUnit\Framework\TestCase;
12
use SfForward\Util\PublicDirectory;
13
14
class PublicDirectoryTest extends TestCase
15
{
16
    public function testGetPublicDir()
17
    {
18
        $projectDir = '/var/www/sites/sf-forward';
19
        $this->assertEquals($projectDir, PublicDirectory::getPublicDir($projectDir));
20
    }
21
}