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

PublicDirectoryTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 6
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
dl 0
loc 6
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A testGetPublicDir() 0 4 1
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
}