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

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

use Kanboard\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'));
    }
}