summaryrefslogtreecommitdiff
path: root/tests/units/Helper/FileHelperText.php
blob: cd5ebffd00a16a90a53ec5662eb21b9b60c1f041 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?php

require_once __DIR__.'/../Base.php';

use Helper\File;

class FileHelperTest extends Base
{
    public function testIcon()
    {
        $h = new File($this->container);
        $this->assertEquals('fa-file-image-o', $h->icon('test.png'));
        $this->assertEquals('fa-file-o', $h->icon('test'));
    }
}