Completed
Push — master ( 79a5bc...8feb3f )
by Edson
01:27
created

KeywordTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
dl 0
loc 8
ccs 0
cts 4
cp 0
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A testOrderBy() 0 4 1
1
<?php
2
3
namespace Tests;
4
5
use PHPUnit\Framework\TestCase;
6
7
class KeywordTest extends TestCase
8
{
9
    use \Bonfim\Component\Database\Keyword;
10
11
    public function testOrderBy()
12
    {
13
        $this->orderBy(['id', 'login'], 'ASC');
14
        $this->assertEquals('ORDER BY `id`, `login` ASC', $this->keyword);
15
    }
16
}
17