mirror of
https://github.com/nuxsmin/sysPass.git
synced 2026-03-11 10:56:58 +01:00
* [MOD] Use static types.
* [MOD] CORS headers. * [MOD] Improve Forwarded header lookup. * [ADD] Create interface for configuration data. Signed-off-by: Rubén D <nuxsmin@syspass.org>
This commit is contained in:
@@ -290,11 +290,11 @@ class ClientRepositoryTest extends DatabaseTestCase
|
||||
* @throws ConstraintException
|
||||
* @throws QueryException
|
||||
*/
|
||||
public function testGetByIdBatch()
|
||||
public function testGetByIdBatch(): void
|
||||
{
|
||||
$this->assertCount(3, self::$repository->getByIdBatch([1, 2, 3]));
|
||||
$this->assertCount(4, self::$repository->getByIdBatch([1, 2, 3, 4, 5]));
|
||||
$this->assertCount(0, self::$repository->getByIdBatch([]));
|
||||
$this->assertCount(3, self::$repository->getByIdBatch([1, 2, 3])->getDataAsArray());
|
||||
$this->assertCount(4, self::$repository->getByIdBatch([1, 2, 3, 4, 5])->getDataAsArray());
|
||||
$this->assertCount(0, self::$repository->getByIdBatch([])->getDataAsArray());
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user