chore(tests): Remove deprecations

Signed-off-by: Rubén D <nuxsmin@syspass.org>
This commit is contained in:
Rubén D
2024-03-17 10:29:39 +01:00
parent cd7a1504cf
commit 9dafac29b5
112 changed files with 337 additions and 280 deletions

View File

@@ -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(