mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 08:11:10 +00:00
Renames project content from Lumina to Nemera
This commit is contained in:
1 parent
0f659a4877
commit
c583c9327c
6127 files changed
+41884
-41884
No files matched your search
+14
-14
@@ -1,13 +1,13 @@
|
||||
#region ========================================================================= USING =====================================================================================
|
||||
using Lumina.Application.Common.DataAccess.Entities.Authorization;
|
||||
using Lumina.Application.Common.DataAccess.Entities.Scheduling;
|
||||
using Lumina.Application.Common.DataAccess.Entities.UsersManagement;
|
||||
using Lumina.Contracts.Fixtures.Core.Requests.Scheduling;
|
||||
using Lumina.Contracts.Requests.Scheduling;
|
||||
using Lumina.Contracts.Responses.Scheduling;
|
||||
using Lumina.DataAccess.Core.UoW;
|
||||
using Lumina.Domain.SharedKernel.Common.Enums.Scheduling;
|
||||
using Lumina.Presentation.Api.IntegrationTests.Common.Setup;
|
||||
using Nemera.Application.Common.DataAccess.Entities.Authorization;
|
||||
using Nemera.Application.Common.DataAccess.Entities.Scheduling;
|
||||
using Nemera.Application.Common.DataAccess.Entities.UsersManagement;
|
||||
using Nemera.Contracts.Fixtures.Core.Requests.Scheduling;
|
||||
using Nemera.Contracts.Requests.Scheduling;
|
||||
using Nemera.Contracts.Responses.Scheduling;
|
||||
using Nemera.DataAccess.Core.UoW;
|
||||
using Nemera.Domain.SharedKernel.Common.Enums.Scheduling;
|
||||
using Nemera.Presentation.Api.IntegrationTests.Common.Setup;
|
||||
using Microsoft.AspNetCore.Http;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
@@ -24,15 +24,15 @@ using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
#endregion
|
||||
|
||||
namespace Lumina.Presentation.Api.IntegrationTests.Core.Endpoints.Scheduling.AddScheduledJob;
|
||||
namespace Nemera.Presentation.Api.IntegrationTests.Core.Endpoints.Scheduling.AddScheduledJob;
|
||||
|
||||
/// <summary>
|
||||
/// Contains integration tests for the <see cref="AddScheduledJobEndpoint"/> class.
|
||||
/// </summary>
|
||||
[ExcludeFromCodeCoverage]
|
||||
public class AddScheduledJobEndpointTests : IClassFixture<AuthenticatedLuminaApiFactory>, IAsyncLifetime
|
||||
public class AddScheduledJobEndpointTests : IClassFixture<AuthenticatedNemeraApiFactory>, IAsyncLifetime
|
||||
{
|
||||
private readonly AuthenticatedLuminaApiFactory _apiFactory;
|
||||
private readonly AuthenticatedNemeraApiFactory _apiFactory;
|
||||
private readonly JsonSerializerOptions _jsonOptions = new()
|
||||
{
|
||||
PropertyNameCaseInsensitive = true,
|
||||
@@ -46,7 +46,7 @@ public class AddScheduledJobEndpointTests : IClassFixture<AuthenticatedLuminaApi
|
||||
/// Initializes a new instance of the <see cref="AddScheduledJobEndpointTests"/> class.
|
||||
/// </summary>
|
||||
/// <param name="apiFactory">Injected in-memory API factory.</param>
|
||||
public AddScheduledJobEndpointTests(AuthenticatedLuminaApiFactory apiFactory)
|
||||
public AddScheduledJobEndpointTests(AuthenticatedNemeraApiFactory apiFactory)
|
||||
{
|
||||
_client = apiFactory.CreateClient();
|
||||
_apiFactory = apiFactory;
|
||||
@@ -165,7 +165,7 @@ public class AddScheduledJobEndpointTests : IClassFixture<AuthenticatedLuminaApi
|
||||
public async Task DisposeAsync()
|
||||
{
|
||||
using IServiceScope scope = _apiFactory.Services.CreateScope();
|
||||
LuminaDbContext dbContext = scope.ServiceProvider.GetRequiredService<LuminaDbContext>();
|
||||
NemeraDbContext dbContext = scope.ServiceProvider.GetRequiredService<NemeraDbContext>();
|
||||
|
||||
// Wipe the tables touched by the tests, because the in-memory database of the class factory is shared between the tests of the class.
|
||||
await dbContext.Set<RolePermissionEntity>().ExecuteDeleteAsync();
|
||||
|
||||
+14
-14
@@ -1,13 +1,13 @@
|
||||
#region ========================================================================= USING =====================================================================================
|
||||
using Lumina.Application.Common.DataAccess.Entities.Authorization;
|
||||
using Lumina.Application.Common.DataAccess.Entities.Scheduling;
|
||||
using Lumina.Application.Common.DataAccess.Entities.UsersManagement;
|
||||
using Lumina.Contracts.Fixtures.Core.Requests.Scheduling;
|
||||
using Lumina.Contracts.Requests.Scheduling;
|
||||
using Lumina.Contracts.Responses.Scheduling;
|
||||
using Lumina.DataAccess.Core.UoW;
|
||||
using Lumina.Domain.SharedKernel.Common.Enums.Scheduling;
|
||||
using Lumina.Presentation.Api.IntegrationTests.Common.Setup;
|
||||
using Nemera.Application.Common.DataAccess.Entities.Authorization;
|
||||
using Nemera.Application.Common.DataAccess.Entities.Scheduling;
|
||||
using Nemera.Application.Common.DataAccess.Entities.UsersManagement;
|
||||
using Nemera.Contracts.Fixtures.Core.Requests.Scheduling;
|
||||
using Nemera.Contracts.Requests.Scheduling;
|
||||
using Nemera.Contracts.Responses.Scheduling;
|
||||
using Nemera.DataAccess.Core.UoW;
|
||||
using Nemera.Domain.SharedKernel.Common.Enums.Scheduling;
|
||||
using Nemera.Presentation.Api.IntegrationTests.Common.Setup;
|
||||
using Microsoft.AspNetCore.Http;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
@@ -24,15 +24,15 @@ using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
#endregion
|
||||
|
||||
namespace Lumina.Presentation.Api.IntegrationTests.Core.Endpoints.Scheduling.GetScheduledJobs;
|
||||
namespace Nemera.Presentation.Api.IntegrationTests.Core.Endpoints.Scheduling.GetScheduledJobs;
|
||||
|
||||
/// <summary>
|
||||
/// Contains integration tests for the <see cref="GetScheduledJobsEndpoint"/> class.
|
||||
/// </summary>
|
||||
[ExcludeFromCodeCoverage]
|
||||
public class GetScheduledJobsEndpointTests : IClassFixture<AuthenticatedLuminaApiFactory>, IAsyncLifetime
|
||||
public class GetScheduledJobsEndpointTests : IClassFixture<AuthenticatedNemeraApiFactory>, IAsyncLifetime
|
||||
{
|
||||
private readonly AuthenticatedLuminaApiFactory _apiFactory;
|
||||
private readonly AuthenticatedNemeraApiFactory _apiFactory;
|
||||
private readonly JsonSerializerOptions _jsonOptions = new()
|
||||
{
|
||||
PropertyNameCaseInsensitive = true,
|
||||
@@ -46,7 +46,7 @@ public class GetScheduledJobsEndpointTests : IClassFixture<AuthenticatedLuminaAp
|
||||
/// Initializes a new instance of the <see cref="GetScheduledJobsEndpointTests"/> class.
|
||||
/// </summary>
|
||||
/// <param name="apiFactory">Injected in-memory API factory.</param>
|
||||
public GetScheduledJobsEndpointTests(AuthenticatedLuminaApiFactory apiFactory)
|
||||
public GetScheduledJobsEndpointTests(AuthenticatedNemeraApiFactory apiFactory)
|
||||
{
|
||||
_client = apiFactory.CreateClient();
|
||||
_apiFactory = apiFactory;
|
||||
@@ -111,7 +111,7 @@ public class GetScheduledJobsEndpointTests : IClassFixture<AuthenticatedLuminaAp
|
||||
public async Task DisposeAsync()
|
||||
{
|
||||
using IServiceScope scope = _apiFactory.Services.CreateScope();
|
||||
LuminaDbContext dbContext = scope.ServiceProvider.GetRequiredService<LuminaDbContext>();
|
||||
NemeraDbContext dbContext = scope.ServiceProvider.GetRequiredService<NemeraDbContext>();
|
||||
|
||||
// Wipe the tables touched by the tests, because the in-memory database of the class factory is shared between the tests of the class.
|
||||
await dbContext.Set<RolePermissionEntity>().ExecuteDeleteAsync();
|
||||
|
||||
+12
-12
@@ -1,11 +1,11 @@
|
||||
#region ========================================================================= USING =====================================================================================
|
||||
using Lumina.Application.Common.DataAccess.Entities.Authorization;
|
||||
using Lumina.Application.Common.DataAccess.Entities.Scheduling;
|
||||
using Lumina.Application.Common.DataAccess.Entities.UsersManagement;
|
||||
using Lumina.Contracts.Responses.Scheduling;
|
||||
using Lumina.DataAccess.Core.UoW;
|
||||
using Lumina.Domain.SharedKernel.Common.Enums.Scheduling;
|
||||
using Lumina.Presentation.Api.IntegrationTests.Common.Setup;
|
||||
using Nemera.Application.Common.DataAccess.Entities.Authorization;
|
||||
using Nemera.Application.Common.DataAccess.Entities.Scheduling;
|
||||
using Nemera.Application.Common.DataAccess.Entities.UsersManagement;
|
||||
using Nemera.Contracts.Responses.Scheduling;
|
||||
using Nemera.DataAccess.Core.UoW;
|
||||
using Nemera.Domain.SharedKernel.Common.Enums.Scheduling;
|
||||
using Nemera.Presentation.Api.IntegrationTests.Common.Setup;
|
||||
using Microsoft.AspNetCore.Http;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
@@ -20,15 +20,15 @@ using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
#endregion
|
||||
|
||||
namespace Lumina.Presentation.Api.IntegrationTests.Core.Endpoints.Scheduling.GetSchedulerDisplayPreferences;
|
||||
namespace Nemera.Presentation.Api.IntegrationTests.Core.Endpoints.Scheduling.GetSchedulerDisplayPreferences;
|
||||
|
||||
/// <summary>
|
||||
/// Contains integration tests for the <see cref="GetSchedulerDisplayPreferencesEndpoint"/> class.
|
||||
/// </summary>
|
||||
[ExcludeFromCodeCoverage]
|
||||
public class GetSchedulerDisplayPreferencesEndpointTests : IClassFixture<AuthenticatedLuminaApiFactory>, IAsyncLifetime
|
||||
public class GetSchedulerDisplayPreferencesEndpointTests : IClassFixture<AuthenticatedNemeraApiFactory>, IAsyncLifetime
|
||||
{
|
||||
private readonly AuthenticatedLuminaApiFactory _apiFactory;
|
||||
private readonly AuthenticatedNemeraApiFactory _apiFactory;
|
||||
private readonly JsonSerializerOptions _jsonOptions = new()
|
||||
{
|
||||
PropertyNameCaseInsensitive = true,
|
||||
@@ -40,7 +40,7 @@ public class GetSchedulerDisplayPreferencesEndpointTests : IClassFixture<Authent
|
||||
/// Initializes a new instance of the <see cref="GetSchedulerDisplayPreferencesEndpointTests"/> class.
|
||||
/// </summary>
|
||||
/// <param name="apiFactory">Injected in-memory API factory.</param>
|
||||
public GetSchedulerDisplayPreferencesEndpointTests(AuthenticatedLuminaApiFactory apiFactory)
|
||||
public GetSchedulerDisplayPreferencesEndpointTests(AuthenticatedNemeraApiFactory apiFactory)
|
||||
{
|
||||
_client = apiFactory.CreateClient();
|
||||
_apiFactory = apiFactory;
|
||||
@@ -92,7 +92,7 @@ public class GetSchedulerDisplayPreferencesEndpointTests : IClassFixture<Authent
|
||||
public async Task DisposeAsync()
|
||||
{
|
||||
using IServiceScope scope = _apiFactory.Services.CreateScope();
|
||||
LuminaDbContext dbContext = scope.ServiceProvider.GetRequiredService<LuminaDbContext>();
|
||||
NemeraDbContext dbContext = scope.ServiceProvider.GetRequiredService<NemeraDbContext>();
|
||||
|
||||
// Wipe the tables touched by the tests, because the in-memory database of the class factory is shared between the tests of the class.
|
||||
await dbContext.Set<RolePermissionEntity>().ExecuteDeleteAsync();
|
||||
|
||||
+15
-15
@@ -1,13 +1,13 @@
|
||||
#region ========================================================================= USING =====================================================================================
|
||||
using Lumina.Application.Common.DataAccess.Entities.Authorization;
|
||||
using Lumina.Application.Common.DataAccess.Entities.Scheduling;
|
||||
using Lumina.Application.Common.DataAccess.Entities.UsersManagement;
|
||||
using Lumina.Contracts.Fixtures.Core.Requests.Scheduling;
|
||||
using Lumina.Contracts.Requests.Scheduling;
|
||||
using Lumina.Contracts.Responses.Scheduling;
|
||||
using Lumina.DataAccess.Core.UoW;
|
||||
using Lumina.Domain.SharedKernel.Common.Enums.Scheduling;
|
||||
using Lumina.Presentation.Api.IntegrationTests.Common.Setup;
|
||||
using Nemera.Application.Common.DataAccess.Entities.Authorization;
|
||||
using Nemera.Application.Common.DataAccess.Entities.Scheduling;
|
||||
using Nemera.Application.Common.DataAccess.Entities.UsersManagement;
|
||||
using Nemera.Contracts.Fixtures.Core.Requests.Scheduling;
|
||||
using Nemera.Contracts.Requests.Scheduling;
|
||||
using Nemera.Contracts.Responses.Scheduling;
|
||||
using Nemera.DataAccess.Core.UoW;
|
||||
using Nemera.Domain.SharedKernel.Common.Enums.Scheduling;
|
||||
using Nemera.Presentation.Api.IntegrationTests.Common.Setup;
|
||||
using Microsoft.AspNetCore.Http;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
@@ -24,15 +24,15 @@ using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
#endregion
|
||||
|
||||
namespace Lumina.Presentation.Api.IntegrationTests.Core.Endpoints.Scheduling.RemoveScheduledJob;
|
||||
namespace Nemera.Presentation.Api.IntegrationTests.Core.Endpoints.Scheduling.RemoveScheduledJob;
|
||||
|
||||
/// <summary>
|
||||
/// Contains integration tests for the <see cref="RemoveScheduledJobEndpoint"/> class.
|
||||
/// </summary>
|
||||
[ExcludeFromCodeCoverage]
|
||||
public class RemoveScheduledJobEndpointTests : IClassFixture<AuthenticatedLuminaApiFactory>, IAsyncLifetime
|
||||
public class RemoveScheduledJobEndpointTests : IClassFixture<AuthenticatedNemeraApiFactory>, IAsyncLifetime
|
||||
{
|
||||
private readonly AuthenticatedLuminaApiFactory _apiFactory;
|
||||
private readonly AuthenticatedNemeraApiFactory _apiFactory;
|
||||
private readonly JsonSerializerOptions _jsonOptions = new()
|
||||
{
|
||||
PropertyNameCaseInsensitive = true,
|
||||
@@ -46,7 +46,7 @@ public class RemoveScheduledJobEndpointTests : IClassFixture<AuthenticatedLumina
|
||||
/// Initializes a new instance of the <see cref="RemoveScheduledJobEndpointTests"/> class.
|
||||
/// </summary>
|
||||
/// <param name="apiFactory">Injected in-memory API factory.</param>
|
||||
public RemoveScheduledJobEndpointTests(AuthenticatedLuminaApiFactory apiFactory)
|
||||
public RemoveScheduledJobEndpointTests(AuthenticatedNemeraApiFactory apiFactory)
|
||||
{
|
||||
_client = apiFactory.CreateClient();
|
||||
_apiFactory = apiFactory;
|
||||
@@ -74,7 +74,7 @@ public class RemoveScheduledJobEndpointTests : IClassFixture<AuthenticatedLumina
|
||||
Assert.Equal(HttpStatusCode.OK, response.StatusCode);
|
||||
|
||||
using IServiceScope scope = _apiFactory.Services.CreateScope();
|
||||
LuminaDbContext dbContext = scope.ServiceProvider.GetRequiredService<LuminaDbContext>();
|
||||
NemeraDbContext dbContext = scope.ServiceProvider.GetRequiredService<NemeraDbContext>();
|
||||
Assert.Null(await dbContext.ScheduledJobs.FirstOrDefaultAsync(scheduledJob => scheduledJob.Id == createdJob.Id));
|
||||
}
|
||||
|
||||
@@ -134,7 +134,7 @@ public class RemoveScheduledJobEndpointTests : IClassFixture<AuthenticatedLumina
|
||||
public async Task DisposeAsync()
|
||||
{
|
||||
using IServiceScope scope = _apiFactory.Services.CreateScope();
|
||||
LuminaDbContext dbContext = scope.ServiceProvider.GetRequiredService<LuminaDbContext>();
|
||||
NemeraDbContext dbContext = scope.ServiceProvider.GetRequiredService<NemeraDbContext>();
|
||||
|
||||
// Wipe the tables touched by the tests, because the in-memory database of the class factory is shared between the tests of the class.
|
||||
await dbContext.Set<RolePermissionEntity>().ExecuteDeleteAsync();
|
||||
|
||||
+14
-14
@@ -1,13 +1,13 @@
|
||||
#region ========================================================================= USING =====================================================================================
|
||||
using Lumina.Application.Common.DataAccess.Entities.Authorization;
|
||||
using Lumina.Application.Common.DataAccess.Entities.Scheduling;
|
||||
using Lumina.Application.Common.DataAccess.Entities.UsersManagement;
|
||||
using Lumina.Contracts.Fixtures.Core.Requests.Scheduling;
|
||||
using Lumina.Contracts.Requests.Scheduling;
|
||||
using Lumina.Contracts.Responses.Scheduling;
|
||||
using Lumina.DataAccess.Core.UoW;
|
||||
using Lumina.Domain.SharedKernel.Common.Enums.Scheduling;
|
||||
using Lumina.Presentation.Api.IntegrationTests.Common.Setup;
|
||||
using Nemera.Application.Common.DataAccess.Entities.Authorization;
|
||||
using Nemera.Application.Common.DataAccess.Entities.Scheduling;
|
||||
using Nemera.Application.Common.DataAccess.Entities.UsersManagement;
|
||||
using Nemera.Contracts.Fixtures.Core.Requests.Scheduling;
|
||||
using Nemera.Contracts.Requests.Scheduling;
|
||||
using Nemera.Contracts.Responses.Scheduling;
|
||||
using Nemera.DataAccess.Core.UoW;
|
||||
using Nemera.Domain.SharedKernel.Common.Enums.Scheduling;
|
||||
using Nemera.Presentation.Api.IntegrationTests.Common.Setup;
|
||||
using Microsoft.AspNetCore.Http;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
@@ -23,15 +23,15 @@ using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
#endregion
|
||||
|
||||
namespace Lumina.Presentation.Api.IntegrationTests.Core.Endpoints.Scheduling.UpdateSchedulerDisplayPreferences;
|
||||
namespace Nemera.Presentation.Api.IntegrationTests.Core.Endpoints.Scheduling.UpdateSchedulerDisplayPreferences;
|
||||
|
||||
/// <summary>
|
||||
/// Contains integration tests for the <see cref="UpdateSchedulerDisplayPreferencesEndpoint"/> class.
|
||||
/// </summary>
|
||||
[ExcludeFromCodeCoverage]
|
||||
public class UpdateSchedulerDisplayPreferencesEndpointTests : IClassFixture<AuthenticatedLuminaApiFactory>, IAsyncLifetime
|
||||
public class UpdateSchedulerDisplayPreferencesEndpointTests : IClassFixture<AuthenticatedNemeraApiFactory>, IAsyncLifetime
|
||||
{
|
||||
private readonly AuthenticatedLuminaApiFactory _apiFactory;
|
||||
private readonly AuthenticatedNemeraApiFactory _apiFactory;
|
||||
private readonly JsonSerializerOptions _jsonOptions = new()
|
||||
{
|
||||
PropertyNameCaseInsensitive = true,
|
||||
@@ -45,7 +45,7 @@ public class UpdateSchedulerDisplayPreferencesEndpointTests : IClassFixture<Auth
|
||||
/// Initializes a new instance of the <see cref="UpdateSchedulerDisplayPreferencesEndpointTests"/> class.
|
||||
/// </summary>
|
||||
/// <param name="apiFactory">Injected in-memory API factory.</param>
|
||||
public UpdateSchedulerDisplayPreferencesEndpointTests(AuthenticatedLuminaApiFactory apiFactory)
|
||||
public UpdateSchedulerDisplayPreferencesEndpointTests(AuthenticatedNemeraApiFactory apiFactory)
|
||||
{
|
||||
_client = apiFactory.CreateClient();
|
||||
_apiFactory = apiFactory;
|
||||
@@ -124,7 +124,7 @@ public class UpdateSchedulerDisplayPreferencesEndpointTests : IClassFixture<Auth
|
||||
public async Task DisposeAsync()
|
||||
{
|
||||
using IServiceScope scope = _apiFactory.Services.CreateScope();
|
||||
LuminaDbContext dbContext = scope.ServiceProvider.GetRequiredService<LuminaDbContext>();
|
||||
NemeraDbContext dbContext = scope.ServiceProvider.GetRequiredService<NemeraDbContext>();
|
||||
|
||||
// Wipe the tables touched by the tests, because the in-memory database of the class factory is shared between the tests of the class.
|
||||
await dbContext.Set<RolePermissionEntity>().ExecuteDeleteAsync();
|
||||
|
||||
Reference in new issue
Block a user