Release 2.0.33 (#4273)
* added function to check if meta-field is defined by a plugin * hide un-defined meta-fields in details view * fix default charset = utf8mb4 * remove broken DATABASE_VERSION fallback * split off upgrade infos for version 1.x * fix page out of range #4279
This commit is contained in:
@@ -18,7 +18,7 @@ use App\Repository\ActivityRepository;
|
||||
use App\Repository\ProjectRepository;
|
||||
use App\Repository\Query\TimesheetQuery;
|
||||
use App\Repository\TimesheetRepository;
|
||||
use Pagerfanta\Pagerfanta;
|
||||
use App\Utils\Pagination;
|
||||
|
||||
/**
|
||||
* @covers \App\Repository\TimesheetRepository
|
||||
@@ -35,7 +35,7 @@ class TimesheetRepositoryTest extends AbstractRepositoryTest
|
||||
$query = new TimesheetQuery();
|
||||
|
||||
$result = $repository->getPagerfantaForQuery($query);
|
||||
$this->assertInstanceOf(Pagerfanta::class, $result);
|
||||
$this->assertInstanceOf(Pagination::class, $result);
|
||||
|
||||
$result = $repository->getTimesheetsForQuery($query);
|
||||
$this->assertIsArray($result);
|
||||
|
||||
Reference in New Issue
Block a user