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

KeywordTest::testOrderBy()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 0
dl 0
loc 4
ccs 0
cts 4
cp 0
crap 2
rs 10
c 0
b 0
f 0
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