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

OwnerTest::testSorting()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 14
Code Lines 12

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 12
nc 1
nop 0
dl 0
loc 14
rs 9.8666
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\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