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

OwnerTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A testSorting() 0 14 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace ApplicationTest\Api\Input\Sorting;
6
7
use Application\Model\Booking;
8
9
class OwnerTest extends AbstractSorting
10
{
11
    public function testSorting(): void
12
    {
13
        $result = $this->getSortedQueryResult(Booking::class, 'owner');
14
        self::assertSame([
15
            4000,
16
            4001,
17
            4003,
18
            4004,
19
            4005,
20
            4006,
21
            4007,
22
            4009,
23
            4012,
24
        ], $result);
25
    }
26
}
27