mirror of
https://github.com/nuxsmin/sysPass.git
synced 2026-03-24 00:57:17 +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:
@@ -306,9 +306,9 @@ class UserGroupRepositoryTest extends DatabaseTestCase
|
||||
* @throws ConstraintException
|
||||
* @throws QueryException
|
||||
*/
|
||||
public function testGetByIdBatch()
|
||||
public function testGetByIdBatch(): void
|
||||
{
|
||||
$data = self::$repository->getByIdBatch([1, 2, 10]);
|
||||
$data = self::$repository->getByIdBatch([1, 2, 10])->getDataAsArray();
|
||||
|
||||
$this->assertCount(2, $data);
|
||||
$this->assertInstanceOf(UserGroupData::class, $data[0]);
|
||||
|
||||
Reference in New Issue
Block a user