summaryrefslogtreecommitdiff
path: root/tests/units/FileHelperText.php
blob: ce04fdbd1a1ec360a46716d7d33c4fe52717005f (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'));
    }
}