2018-01-12 20:39:07 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
/*
|
2018-02-03 18:23:47 +01:00
|
|
|
* This file is part of the Kimai time-tracking app.
|
2018-01-12 20:39:07 +01:00
|
|
|
*
|
|
|
|
* For the full copyright and license information, please view the LICENSE
|
|
|
|
* file that was distributed with this source code.
|
|
|
|
*/
|
|
|
|
|
|
|
|
namespace App\Tests\Repository\Query;
|
|
|
|
|
|
|
|
use App\Repository\Query\CustomerQuery;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @covers \App\Repository\Query\CustomerQuery
|
|
|
|
*/
|
|
|
|
class CustomerQueryTest extends BaseQueryTest
|
|
|
|
{
|
2022-12-31 21:19:55 +01:00
|
|
|
public function testQuery(): void
|
2018-01-12 20:39:07 +01:00
|
|
|
{
|
|
|
|
$sut = new CustomerQuery();
|
|
|
|
|
2019-07-09 16:34:11 +02:00
|
|
|
$this->assertBaseQuery($sut, 'name');
|
2019-09-09 23:47:42 +02:00
|
|
|
$this->assertResetByFormError(new CustomerQuery(), 'name');
|
2018-01-12 20:39:07 +01:00
|
|
|
}
|
|
|
|
}
|