Passed
Push — master ( 8ce43b...977552 )
by Adrien
13:23
created

LatestModificationTest::testSorting()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 8
Code Lines 6

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 6
nc 1
nop 0
dl 0
loc 8
rs 10
c 0
b 0
f 0
1
<?php
2
3
declare(strict_types=1);
4
5
namespace ApplicationTest\Api\Input\Sorting;
6
7
use Application\Model\ExpenseClaim;
8
9
class LatestModificationTest extends AbstractSorting
10
{
11
    public function testSorting(): void
12
    {
13
        $result = $this->getSortedQueryResult(ExpenseClaim::class, 'latestModification');
14
        self::assertSame([
15
            7002,
16
            7001,
17
            7000,
18
        ], $result);
19
    }
20
}
21