chore(test): Refactor test naming

Signed-off-by: Rubén D <nuxsmin@syspass.org>
This commit is contained in:
Rubén D
2024-01-16 09:12:38 +01:00
parent f68de1f917
commit f697f70df3
24 changed files with 44 additions and 44 deletions

View File

@@ -45,7 +45,7 @@ use SPT\UnitaryTestCase;
*
* @group unitary
*/
class AccountAclServiceTest extends UnitaryTestCase
class AccountAclTest extends UnitaryTestCase
{
private const ACTIONS = [
AclActionsInterface::ACCOUNT_SEARCH,

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -48,7 +48,7 @@ use SPT\UnitaryTestCase;
*
* @group unitary
*/
class AccountSearchServiceTest extends UnitaryTestCase
class AccountSearchTest extends UnitaryTestCase
{
use AccountSearchTokenizerDataTrait;

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -60,7 +60,7 @@ use function PHPUnit\Framework\onConsecutiveCalls;
*
* @group unitary
*/
class ApiServiceTest extends UnitaryTestCase
class ApiTest extends UnitaryTestCase
{
private TrackServiceInterface|MockObject $trackService;

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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