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

LatestModificationTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 7
dl 0
loc 10
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A testSorting() 0 8 1
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