mirror of
https://github.com/nuxsmin/sysPass.git
synced 2026-03-05 16:14:11 +01:00
chore: Move interfaces into Domain
Signed-off-by: Rubén D <nuxsmin@syspass.org>
This commit is contained in:
@@ -28,22 +28,23 @@ use Defuse\Crypto\Exception\CryptoException;
|
||||
use Defuse\Crypto\Exception\EnvironmentIsBrokenException;
|
||||
use DI\DependencyException;
|
||||
use DI\NotFoundException;
|
||||
use SP\Core\Acl\AclActionsInterface;
|
||||
use SP\Core\Context\ContextException;
|
||||
use SP\Core\Crypt\Hash;
|
||||
use SP\Core\Crypt\Vault;
|
||||
use SP\Core\Crypt\VaultInterface;
|
||||
use SP\Core\Exceptions\ConstraintException;
|
||||
use SP\Core\Exceptions\QueryException;
|
||||
use SP\Core\Exceptions\SPException;
|
||||
use SP\DataModel\AuthTokenData;
|
||||
use SP\DataModel\ItemSearchData;
|
||||
use SP\Domain\Core\Acl\AclActionsInterface;
|
||||
use SP\Domain\Core\Crypt\VaultInterface;
|
||||
use SP\Infrastructure\Auth\Repositories\AuthTokenRepository;
|
||||
use SP\Infrastructure\Common\Repositories\DuplicatedItemException;
|
||||
use SP\Tests\DatabaseTestCase;
|
||||
use SP\Util\PasswordUtil;
|
||||
use SP\Util\Util;
|
||||
use stdClass;
|
||||
|
||||
use function SP\Tests\setupContext;
|
||||
|
||||
/**
|
||||
@@ -53,11 +54,11 @@ use function SP\Tests\setupContext;
|
||||
*/
|
||||
class AuthTokenRepositoryTest extends DatabaseTestCase
|
||||
{
|
||||
const AUTH_TOKEN = '2cee8b224f48e01ef48ac172e879cc7825800a9d7ce3b23783212f4758f1c146';
|
||||
const AUTH_TOKEN_PASS = 123456;
|
||||
public const AUTH_TOKEN = '2cee8b224f48e01ef48ac172e879cc7825800a9d7ce3b23783212f4758f1c146';
|
||||
public const AUTH_TOKEN_PASS = 123456;
|
||||
|
||||
/**
|
||||
* @var \SP\Infrastructure\Auth\Repositories\AuthTokenRepository
|
||||
* @var AuthTokenRepository
|
||||
*/
|
||||
private static $repository;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user