mirror of
https://github.com/nuxsmin/sysPass.git
synced 2026-03-03 07:04:07 +01:00
chore(test): Refactor test naming
Signed-off-by: Rubén D <nuxsmin@syspass.org>
This commit is contained in:
@@ -45,7 +45,7 @@ use SPT\UnitaryTestCase;
|
||||
*
|
||||
* @group unitary
|
||||
*/
|
||||
class AccountAclServiceTest extends UnitaryTestCase
|
||||
class AccountAclTest extends UnitaryTestCase
|
||||
{
|
||||
private const ACTIONS = [
|
||||
AclActionsInterface::ACCOUNT_SEARCH,
|
||||
@@ -4,7 +4,7 @@
|
||||
*
|
||||
* @author nuxsmin
|
||||
* @link https://syspass.org
|
||||
* @copyright 2012-2023, Rubén Domínguez nuxsmin@$syspass.org
|
||||
* @copyright 2012-2024, Rubén Domínguez nuxsmin@$syspass.org
|
||||
*
|
||||
* This file is part of sysPass.
|
||||
*
|
||||
@@ -41,7 +41,7 @@ use SPT\UnitaryTestCase;
|
||||
*
|
||||
* @group unitary
|
||||
*/
|
||||
class AccountCacheServiceTest extends UnitaryTestCase
|
||||
class AccountCacheTest extends UnitaryTestCase
|
||||
{
|
||||
|
||||
private AccountToUserRepository|MockObject $accountToUserRepository;
|
||||
@@ -4,7 +4,7 @@
|
||||
*
|
||||
* @author nuxsmin
|
||||
* @link https://syspass.org
|
||||
* @copyright 2012-2023, Rubén Domínguez nuxsmin@$syspass.org
|
||||
* @copyright 2012-2024, Rubén Domínguez nuxsmin@$syspass.org
|
||||
*
|
||||
* This file is part of sysPass.
|
||||
*
|
||||
@@ -46,7 +46,7 @@ use SPT\UnitaryTestCase;
|
||||
*
|
||||
* @group unitary
|
||||
*/
|
||||
class AccountCryptServiceTest extends UnitaryTestCase
|
||||
class AccountCryptTest extends UnitaryTestCase
|
||||
{
|
||||
|
||||
private MockObject|AccountService $account;
|
||||
@@ -4,7 +4,7 @@
|
||||
*
|
||||
* @author nuxsmin
|
||||
* @link https://syspass.org
|
||||
* @copyright 2012-2023, Rubén Domínguez nuxsmin@$syspass.org
|
||||
* @copyright 2012-2024, Rubén Domínguez nuxsmin@$syspass.org
|
||||
*
|
||||
* This file is part of sysPass.
|
||||
*
|
||||
@@ -45,7 +45,7 @@ use SPT\UnitaryTestCase;
|
||||
*
|
||||
* @group unitary
|
||||
*/
|
||||
class AccountFileServiceTest extends UnitaryTestCase
|
||||
class AccountFileTest extends UnitaryTestCase
|
||||
{
|
||||
|
||||
private MockObject|AccountFileRepository $accountFileRepository;
|
||||
@@ -4,7 +4,7 @@
|
||||
*
|
||||
* @author nuxsmin
|
||||
* @link https://syspass.org
|
||||
* @copyright 2012-2023, Rubén Domínguez nuxsmin@$syspass.org
|
||||
* @copyright 2012-2024, Rubén Domínguez nuxsmin@$syspass.org
|
||||
*
|
||||
* This file is part of sysPass.
|
||||
*
|
||||
@@ -43,7 +43,7 @@ use SPT\UnitaryTestCase;
|
||||
*
|
||||
* @group unitary
|
||||
*/
|
||||
class AccountHistoryServiceTest extends UnitaryTestCase
|
||||
class AccountHistoryTest extends UnitaryTestCase
|
||||
{
|
||||
|
||||
private AccountHistory $accountHistory;
|
||||
@@ -4,7 +4,7 @@
|
||||
*
|
||||
* @author nuxsmin
|
||||
* @link https://syspass.org
|
||||
* @copyright 2012-2023, Rubén Domínguez nuxsmin@$syspass.org
|
||||
* @copyright 2012-2024, Rubén Domínguez nuxsmin@$syspass.org
|
||||
*
|
||||
* This file is part of sysPass.
|
||||
*
|
||||
@@ -45,7 +45,7 @@ use SPT\UnitaryTestCase;
|
||||
*
|
||||
* @group unitary
|
||||
*/
|
||||
class AccountPresetServiceTest extends UnitaryTestCase
|
||||
class AccountPresetTest extends UnitaryTestCase
|
||||
{
|
||||
|
||||
private ItemPresetServiceInterface|MockObject $itemPresetService;
|
||||
@@ -48,7 +48,7 @@ use SPT\UnitaryTestCase;
|
||||
*
|
||||
* @group unitary
|
||||
*/
|
||||
class AccountSearchServiceTest extends UnitaryTestCase
|
||||
class AccountSearchTest extends UnitaryTestCase
|
||||
{
|
||||
use AccountSearchTokenizerDataTrait;
|
||||
|
||||
@@ -62,7 +62,7 @@ use SPT\UnitaryTestCase;
|
||||
*
|
||||
* @group unitary
|
||||
*/
|
||||
class AccountServiceTest extends UnitaryTestCase
|
||||
class AccountTest extends UnitaryTestCase
|
||||
{
|
||||
private AccountRepository|MockObject $accountRepository;
|
||||
private AccountToUserGroupRepository|MockObject $accountToUserGroupRepository;
|
||||
@@ -4,7 +4,7 @@
|
||||
*
|
||||
* @author nuxsmin
|
||||
* @link https://syspass.org
|
||||
* @copyright 2012-2023, Rubén Domínguez nuxsmin@$syspass.org
|
||||
* @copyright 2012-2024, Rubén Domínguez nuxsmin@$syspass.org
|
||||
*
|
||||
* This file is part of sysPass.
|
||||
*
|
||||
@@ -38,7 +38,7 @@ use SPT\UnitaryTestCase;
|
||||
*
|
||||
* @group unitary
|
||||
*/
|
||||
class AccountToFavoriteServiceTest extends UnitaryTestCase
|
||||
class AccountToFavoriteTest extends UnitaryTestCase
|
||||
{
|
||||
|
||||
private AccountToFavoriteRepository|MockObject $accountToFavoriteRepository;
|
||||
@@ -4,7 +4,7 @@
|
||||
*
|
||||
* @author nuxsmin
|
||||
* @link https://syspass.org
|
||||
* @copyright 2012-2023, Rubén Domínguez nuxsmin@$syspass.org
|
||||
* @copyright 2012-2024, Rubén Domínguez nuxsmin@$syspass.org
|
||||
*
|
||||
* This file is part of sysPass.
|
||||
*
|
||||
@@ -40,7 +40,7 @@ use SPT\UnitaryTestCase;
|
||||
*
|
||||
* @group unitary
|
||||
*/
|
||||
class AccountToTagServiceTest extends UnitaryTestCase
|
||||
class AccountToTagTest extends UnitaryTestCase
|
||||
{
|
||||
|
||||
private AccountToTag $accountToTag;
|
||||
@@ -4,7 +4,7 @@
|
||||
*
|
||||
* @author nuxsmin
|
||||
* @link https://syspass.org
|
||||
* @copyright 2012-2023, Rubén Domínguez nuxsmin@$syspass.org
|
||||
* @copyright 2012-2024, Rubén Domínguez nuxsmin@$syspass.org
|
||||
*
|
||||
* This file is part of sysPass.
|
||||
*
|
||||
@@ -39,7 +39,7 @@ use SPT\UnitaryTestCase;
|
||||
*
|
||||
* @group unitary
|
||||
*/
|
||||
class AccountToUserGroupServiceTest extends UnitaryTestCase
|
||||
class AccountToUserGroupTest extends UnitaryTestCase
|
||||
{
|
||||
|
||||
private AccountToUserGroup $accountToUserGroup;
|
||||
@@ -4,7 +4,7 @@
|
||||
*
|
||||
* @author nuxsmin
|
||||
* @link https://syspass.org
|
||||
* @copyright 2012-2023, Rubén Domínguez nuxsmin@$syspass.org
|
||||
* @copyright 2012-2024, Rubén Domínguez nuxsmin@$syspass.org
|
||||
*
|
||||
* This file is part of sysPass.
|
||||
*
|
||||
@@ -39,7 +39,7 @@ use SPT\UnitaryTestCase;
|
||||
*
|
||||
* @group unitary
|
||||
*/
|
||||
class AccountToUserServiceTest extends UnitaryTestCase
|
||||
class AccountToUserTest extends UnitaryTestCase
|
||||
{
|
||||
|
||||
private AccountToUserRepository|MockObject $accountToUserRepository;
|
||||
@@ -4,7 +4,7 @@
|
||||
*
|
||||
* @author nuxsmin
|
||||
* @link https://syspass.org
|
||||
* @copyright 2012-2023, Rubén Domínguez nuxsmin@$syspass.org
|
||||
* @copyright 2012-2024, Rubén Domínguez nuxsmin@$syspass.org
|
||||
*
|
||||
* This file is part of sysPass.
|
||||
*
|
||||
@@ -51,7 +51,7 @@ use SPT\UnitaryTestCase;
|
||||
*
|
||||
* @group unitary
|
||||
*/
|
||||
class PublicLinkServiceTest extends UnitaryTestCase
|
||||
class PublicLinkTest extends UnitaryTestCase
|
||||
{
|
||||
|
||||
private PublicLinkRepository|MockObject $publicLinkRepository;
|
||||
@@ -4,7 +4,7 @@
|
||||
*
|
||||
* @author nuxsmin
|
||||
* @link https://syspass.org
|
||||
* @copyright 2012-2023, Rubén Domínguez nuxsmin@$syspass.org
|
||||
* @copyright 2012-2024, Rubén Domínguez nuxsmin@$syspass.org
|
||||
*
|
||||
* This file is part of sysPass.
|
||||
*
|
||||
@@ -39,7 +39,7 @@ use SPT\UnitaryTestCase;
|
||||
*
|
||||
* @group unitary
|
||||
*/
|
||||
class UpgradePublicLinkServiceTest extends UnitaryTestCase
|
||||
class UpgradePublicLinkTest extends UnitaryTestCase
|
||||
{
|
||||
|
||||
private PublicLinkRepository|MockObject $publicLinkRepository;
|
||||
@@ -60,7 +60,7 @@ use function PHPUnit\Framework\onConsecutiveCalls;
|
||||
*
|
||||
* @group unitary
|
||||
*/
|
||||
class ApiServiceTest extends UnitaryTestCase
|
||||
class ApiTest extends UnitaryTestCase
|
||||
{
|
||||
|
||||
private TrackServiceInterface|MockObject $trackService;
|
||||
@@ -4,7 +4,7 @@
|
||||
*
|
||||
* @author nuxsmin
|
||||
* @link https://syspass.org
|
||||
* @copyright 2012-2023, Rubén Domínguez nuxsmin@$syspass.org
|
||||
* @copyright 2012-2024, Rubén Domínguez nuxsmin@$syspass.org
|
||||
*
|
||||
* This file is part of sysPass.
|
||||
*
|
||||
@@ -44,7 +44,7 @@ use SPT\UnitaryTestCase;
|
||||
*
|
||||
* @group unitary
|
||||
*/
|
||||
class AccountFileRepositoryTest extends UnitaryTestCase
|
||||
class AccountFileTest extends UnitaryTestCase
|
||||
{
|
||||
private DatabaseInterface|MockObject $database;
|
||||
private AccountFile $accountFile;
|
||||
@@ -4,7 +4,7 @@
|
||||
*
|
||||
* @author nuxsmin
|
||||
* @link https://syspass.org
|
||||
* @copyright 2012-2023, Rubén Domínguez nuxsmin@$syspass.org
|
||||
* @copyright 2012-2024, Rubén Domínguez nuxsmin@$syspass.org
|
||||
*
|
||||
* This file is part of sysPass.
|
||||
*
|
||||
@@ -45,7 +45,7 @@ use SPT\UnitaryTestCase;
|
||||
*
|
||||
* @group unitary
|
||||
*/
|
||||
class AccountHistoryRepositoryTest extends UnitaryTestCase
|
||||
class AccountHistoryTest extends UnitaryTestCase
|
||||
{
|
||||
private DatabaseInterface|MockObject $database;
|
||||
private AccountHistory $accountHistory;
|
||||
@@ -4,7 +4,7 @@
|
||||
*
|
||||
* @author nuxsmin
|
||||
* @link https://syspass.org
|
||||
* @copyright 2012-2023, Rubén Domínguez nuxsmin@$syspass.org
|
||||
* @copyright 2012-2024, Rubén Domínguez nuxsmin@$syspass.org
|
||||
*
|
||||
* This file is part of sysPass.
|
||||
*
|
||||
@@ -41,7 +41,7 @@ use SPT\UnitaryTestCase;
|
||||
*
|
||||
* @group unitary
|
||||
*/
|
||||
class AccountSearchRepositoryTest extends UnitaryTestCase
|
||||
class AccountSearchTest extends UnitaryTestCase
|
||||
{
|
||||
|
||||
private MockObject|DatabaseInterface $database;
|
||||
@@ -4,7 +4,7 @@
|
||||
*
|
||||
* @author nuxsmin
|
||||
* @link https://syspass.org
|
||||
* @copyright 2012-2023, Rubén Domínguez nuxsmin@$syspass.org
|
||||
* @copyright 2012-2024, Rubén Domínguez nuxsmin@$syspass.org
|
||||
*
|
||||
* This file is part of sysPass.
|
||||
*
|
||||
@@ -48,7 +48,7 @@ use SPT\UnitaryTestCase;
|
||||
*
|
||||
* @group unitary
|
||||
*/
|
||||
class AccountRepositoryTest extends UnitaryTestCase
|
||||
class AccountTest extends UnitaryTestCase
|
||||
{
|
||||
private DatabaseInterface|MockObject $database;
|
||||
private Account $account;
|
||||
@@ -4,7 +4,7 @@
|
||||
*
|
||||
* @author nuxsmin
|
||||
* @link https://syspass.org
|
||||
* @copyright 2012-2023, Rubén Domínguez nuxsmin@$syspass.org
|
||||
* @copyright 2012-2024, Rubén Domínguez nuxsmin@$syspass.org
|
||||
*
|
||||
* This file is part of sysPass.
|
||||
*
|
||||
@@ -41,7 +41,7 @@ use SPT\UnitaryTestCase;
|
||||
*
|
||||
* @group unitary
|
||||
*/
|
||||
class AccountToFavoriteRepositoryTest extends UnitaryTestCase
|
||||
class AccountToFavoriteTest extends UnitaryTestCase
|
||||
{
|
||||
private MockObject|DatabaseInterface $database;
|
||||
private AccountToFavorite $accountToFavorite;
|
||||
@@ -4,7 +4,7 @@
|
||||
*
|
||||
* @author nuxsmin
|
||||
* @link https://syspass.org
|
||||
* @copyright 2012-2023, Rubén Domínguez nuxsmin@$syspass.org
|
||||
* @copyright 2012-2024, Rubén Domínguez nuxsmin@$syspass.org
|
||||
*
|
||||
* This file is part of sysPass.
|
||||
*
|
||||
@@ -43,7 +43,7 @@ use SPT\UnitaryTestCase;
|
||||
*
|
||||
* @group unitary
|
||||
*/
|
||||
class AccountToTagRepositoryTest extends UnitaryTestCase
|
||||
class AccountToTagTest extends UnitaryTestCase
|
||||
{
|
||||
private MockObject|DatabaseInterface $database;
|
||||
private AccountToTag $accountToTag;
|
||||
@@ -4,7 +4,7 @@
|
||||
*
|
||||
* @author nuxsmin
|
||||
* @link https://syspass.org
|
||||
* @copyright 2012-2023, Rubén Domínguez nuxsmin@$syspass.org
|
||||
* @copyright 2012-2024, Rubén Domínguez nuxsmin@$syspass.org
|
||||
*
|
||||
* This file is part of sysPass.
|
||||
*
|
||||
@@ -41,7 +41,7 @@ use SPT\UnitaryTestCase;
|
||||
*
|
||||
* @group unitary
|
||||
*/
|
||||
class AccountToUserGroupRepositoryTest extends UnitaryTestCase
|
||||
class AccountToUserGroupTest extends UnitaryTestCase
|
||||
{
|
||||
private MockObject|DatabaseInterface $database;
|
||||
private AccountToUserGroup $accountToUserGroup;
|
||||
@@ -4,7 +4,7 @@
|
||||
*
|
||||
* @author nuxsmin
|
||||
* @link https://syspass.org
|
||||
* @copyright 2012-2023, Rubén Domínguez nuxsmin@$syspass.org
|
||||
* @copyright 2012-2024, Rubén Domínguez nuxsmin@$syspass.org
|
||||
*
|
||||
* This file is part of sysPass.
|
||||
*
|
||||
@@ -41,7 +41,7 @@ use SPT\UnitaryTestCase;
|
||||
*
|
||||
* @group unitary
|
||||
*/
|
||||
class AccountToUserRepositoryTest extends UnitaryTestCase
|
||||
class AccountToUserTest extends UnitaryTestCase
|
||||
{
|
||||
private MockObject|DatabaseInterface $database;
|
||||
private AccountToUser $accountToUser;
|
||||
@@ -4,7 +4,7 @@
|
||||
*
|
||||
* @author nuxsmin
|
||||
* @link https://syspass.org
|
||||
* @copyright 2012-2023, Rubén Domínguez nuxsmin@$syspass.org
|
||||
* @copyright 2012-2024, Rubén Domínguez nuxsmin@$syspass.org
|
||||
*
|
||||
* This file is part of sysPass.
|
||||
*
|
||||
@@ -45,7 +45,7 @@ use SPT\UnitaryTestCase;
|
||||
*
|
||||
* @group unitary
|
||||
*/
|
||||
class PublicLinkRepositoryTest extends UnitaryTestCase
|
||||
class PublicLinkTest extends UnitaryTestCase
|
||||
{
|
||||
|
||||
private PublicLink $publicLink;
|
||||
Reference in New Issue
Block a user