mirror of
https://github.com/nuxsmin/sysPass.git
synced 2026-03-21 07:46:50 +01:00
chore(tests): Remove deprecations
Signed-off-by: Rubén D <nuxsmin@syspass.org>
This commit is contained in:
@@ -27,6 +27,7 @@ namespace SPT\Modules\Api\Controllers;
|
||||
use DI\DependencyException;
|
||||
use DI\NotFoundException;
|
||||
use JsonException;
|
||||
use PHPUnit\Framework\Attributes\DataProvider;
|
||||
use SP\Domain\Core\Acl\AclActionsInterface;
|
||||
use SPT\Modules\Api\ApiTestCase;
|
||||
use stdClass;
|
||||
@@ -298,12 +299,11 @@ class ClientControllerTest extends ApiTestCase
|
||||
}
|
||||
|
||||
/**
|
||||
* @dataProvider searchProvider
|
||||
*
|
||||
* @throws DependencyException
|
||||
* @throws JsonException
|
||||
* @throws NotFoundException
|
||||
*/
|
||||
#[DataProvider('searchProvider')]
|
||||
public function testSearchActionByFilter(array $filter, int $resultsCount): void
|
||||
{
|
||||
$api = $this->callApi(
|
||||
|
||||
Reference in New Issue
Block a user