mirror of
https://github.com/aaronpo97/the-biergarten-app.git
synced 2026-10-14 17:54:42 +00:00
Rename auth feature to Features.Users (#281)
This commit is contained in:
@@ -1,16 +1,16 @@
|
||||
using System.IdentityModel.Tokens.Jwt;
|
||||
using System.Security.Claims;
|
||||
using Domain.Exceptions;
|
||||
using Features.Auth.Commands.Authentication.ConfirmUser;
|
||||
using Features.Auth.Dtos;
|
||||
using Features.Auth.Identity;
|
||||
using Features.Auth.Services;
|
||||
using Features.Auth.Tests.TestSupport;
|
||||
using Features.Users.Commands.Authentication.ConfirmUser;
|
||||
using Features.Users.Dtos;
|
||||
using Features.Users.Identity;
|
||||
using Features.Users.Services;
|
||||
using Features.Users.Tests.TestSupport;
|
||||
using FluentAssertions;
|
||||
using Microsoft.AspNetCore.Identity;
|
||||
using Moq;
|
||||
|
||||
namespace Features.Auth.Tests.Commands;
|
||||
namespace Features.Users.Tests.Commands;
|
||||
|
||||
public class ConfirmUserHandlerTests
|
||||
{
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
using Domain.Exceptions;
|
||||
using Features.Auth.Commands.Account.DeleteAccount;
|
||||
using Features.Auth.Identity;
|
||||
using Features.Auth.Tests.TestSupport;
|
||||
using Features.Users.Commands.Account.DeleteAccount;
|
||||
using Features.Users.Identity;
|
||||
using Features.Users.Tests.TestSupport;
|
||||
using FluentAssertions;
|
||||
using Microsoft.AspNetCore.Identity;
|
||||
using Moq;
|
||||
|
||||
namespace Features.Auth.Tests.Commands;
|
||||
namespace Features.Users.Tests.Commands;
|
||||
|
||||
public class DeleteAccountHandlerTests
|
||||
{
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
using Features.Auth.Commands.Authentication.RefreshToken;
|
||||
using Features.Auth.Dtos;
|
||||
using Features.Auth.Services;
|
||||
using Features.Users.Commands.Authentication.RefreshToken;
|
||||
using Features.Users.Dtos;
|
||||
using Features.Users.Services;
|
||||
using FluentAssertions;
|
||||
using Moq;
|
||||
|
||||
namespace Features.Auth.Tests.Commands;
|
||||
namespace Features.Users.Tests.Commands;
|
||||
|
||||
public class RefreshTokenHandlerTests
|
||||
{
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
using Domain.Exceptions;
|
||||
using Features.Auth.Commands.Authentication.RegisterUser;
|
||||
using Features.Auth.Dtos;
|
||||
using Features.Auth.Identity;
|
||||
using Features.Auth.Notifications;
|
||||
using Features.Auth.Services;
|
||||
using Features.Auth.Tests.TestSupport;
|
||||
using Features.Users.Commands.Authentication.RegisterUser;
|
||||
using Features.Users.Dtos;
|
||||
using Features.Users.Identity;
|
||||
using Features.Users.Notifications;
|
||||
using Features.Users.Services;
|
||||
using Features.Users.Tests.TestSupport;
|
||||
using FluentAssertions;
|
||||
using MediatR;
|
||||
using Microsoft.AspNetCore.Identity;
|
||||
using Moq;
|
||||
|
||||
namespace Features.Auth.Tests.Commands;
|
||||
namespace Features.Users.Tests.Commands;
|
||||
|
||||
public class RegisterUserHandlerTests
|
||||
{
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
using Features.Auth.Commands.Authentication.ResendConfirmationEmail;
|
||||
using Features.Auth.Identity;
|
||||
using Features.Auth.Notifications;
|
||||
using Features.Auth.Services;
|
||||
using Features.Auth.Tests.TestSupport;
|
||||
using Features.Users.Commands.Authentication.ResendConfirmationEmail;
|
||||
using Features.Users.Identity;
|
||||
using Features.Users.Notifications;
|
||||
using Features.Users.Services;
|
||||
using Features.Users.Tests.TestSupport;
|
||||
using MediatR;
|
||||
using Microsoft.AspNetCore.Identity;
|
||||
using Moq;
|
||||
|
||||
namespace Features.Auth.Tests.Commands;
|
||||
namespace Features.Users.Tests.Commands;
|
||||
|
||||
public class ResendConfirmationEmailHandlerTests
|
||||
{
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
using Domain.Exceptions;
|
||||
using Features.Auth.Commands.Account.UpdateEmail;
|
||||
using Features.Auth.Dtos;
|
||||
using Features.Auth.Identity;
|
||||
using Features.Auth.Tests.TestSupport;
|
||||
using Features.Users.Commands.Account.UpdateEmail;
|
||||
using Features.Users.Dtos;
|
||||
using Features.Users.Identity;
|
||||
using Features.Users.Tests.TestSupport;
|
||||
using FluentAssertions;
|
||||
using Microsoft.AspNetCore.Identity;
|
||||
using Moq;
|
||||
|
||||
namespace Features.Auth.Tests.Commands;
|
||||
namespace Features.Users.Tests.Commands;
|
||||
|
||||
public class UpdateEmailHandlerTests
|
||||
{
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
using Domain.Exceptions;
|
||||
using Features.Auth.Commands.Account.UpdatePassword;
|
||||
using Features.Auth.Dtos;
|
||||
using Features.Auth.Identity;
|
||||
using Features.Auth.Tests.TestSupport;
|
||||
using Features.Users.Commands.Account.UpdatePassword;
|
||||
using Features.Users.Dtos;
|
||||
using Features.Users.Identity;
|
||||
using Features.Users.Tests.TestSupport;
|
||||
using FluentAssertions;
|
||||
using Microsoft.AspNetCore.Identity;
|
||||
using Moq;
|
||||
|
||||
namespace Features.Auth.Tests.Commands;
|
||||
namespace Features.Users.Tests.Commands;
|
||||
|
||||
public class UpdatePasswordHandlerTests
|
||||
{
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
using Domain.Exceptions;
|
||||
using Features.Auth.Commands.Profile.UpdateProfile;
|
||||
using Features.Auth.Dtos;
|
||||
using Features.Auth.Identity;
|
||||
using Features.Auth.Tests.TestSupport;
|
||||
using Features.Users.Commands.Profile.UpdateProfile;
|
||||
using Features.Users.Dtos;
|
||||
using Features.Users.Identity;
|
||||
using Features.Users.Tests.TestSupport;
|
||||
using FluentAssertions;
|
||||
using Microsoft.AspNetCore.Identity;
|
||||
using Moq;
|
||||
|
||||
namespace Features.Auth.Tests.Commands;
|
||||
namespace Features.Users.Tests.Commands;
|
||||
|
||||
public class UpdateProfileHandlerTests
|
||||
{
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
using Domain.Exceptions;
|
||||
using Features.Auth.Commands.Account.UpdateUsername;
|
||||
using Features.Auth.Dtos;
|
||||
using Features.Auth.Identity;
|
||||
using Features.Auth.Tests.TestSupport;
|
||||
using Features.Users.Commands.Account.UpdateUsername;
|
||||
using Features.Users.Dtos;
|
||||
using Features.Users.Identity;
|
||||
using Features.Users.Tests.TestSupport;
|
||||
using FluentAssertions;
|
||||
using Microsoft.AspNetCore.Identity;
|
||||
using Moq;
|
||||
|
||||
namespace Features.Auth.Tests.Commands;
|
||||
namespace Features.Users.Tests.Commands;
|
||||
|
||||
public class UpdateUsernameHandlerTests
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user