mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 11: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
+3
-3
@@ -1,6 +1,6 @@
|
||||
#region ========================================================================= USING =====================================================================================
|
||||
using Lumina.Presentation.Web.Common.Services;
|
||||
using Lumina.Presentation.Web.Fixtures.Common.Api;
|
||||
using Nemera.Presentation.Web.Common.Services;
|
||||
using Nemera.Presentation.Web.Fixtures.Common.Api;
|
||||
using Microsoft.AspNetCore.Http;
|
||||
using Microsoft.Extensions.Caching.Hybrid;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
@@ -15,7 +15,7 @@ using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
#endregion
|
||||
|
||||
namespace Lumina.Presentation.Web.UnitTests.Common.Services;
|
||||
namespace Nemera.Presentation.Web.UnitTests.Common.Services;
|
||||
|
||||
/// <summary>
|
||||
/// Contains unit tests for the <see cref="CachedAuthorizationHandler"/> class.
|
||||
|
||||
+4
-4
@@ -1,6 +1,6 @@
|
||||
#region ========================================================================= USING =====================================================================================
|
||||
using Lumina.Presentation.Web.Common.Services;
|
||||
using Lumina.Presentation.Web.Fixtures.Common.Api;
|
||||
using Nemera.Presentation.Web.Common.Services;
|
||||
using Nemera.Presentation.Web.Fixtures.Common.Api;
|
||||
using Microsoft.AspNetCore.Http;
|
||||
using Microsoft.Extensions.Caching.Hybrid;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
@@ -15,7 +15,7 @@ using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
#endregion
|
||||
|
||||
namespace Lumina.Presentation.Web.UnitTests.Common.Services;
|
||||
namespace Nemera.Presentation.Web.UnitTests.Common.Services;
|
||||
|
||||
/// <summary>
|
||||
/// Contains unit tests for the <see cref="CachedThemeHandler"/> class.
|
||||
@@ -76,7 +76,7 @@ public class CachedThemeHandlerTests
|
||||
|
||||
// Act
|
||||
await client.GetAsync("http://localhost:5214/api/v1/themes/current", CancellationToken.None);
|
||||
await client.PutAsync("http://localhost:5214/api/v1/themes/current", new StringContent("""{"themeId":"lumina-default"}""", Encoding.UTF8, "application/json"), CancellationToken.None);
|
||||
await client.PutAsync("http://localhost:5214/api/v1/themes/current", new StringContent("""{"themeId":"nemera-default"}""", Encoding.UTF8, "application/json"), CancellationToken.None);
|
||||
await client.GetAsync("http://localhost:5214/api/v1/themes/current", CancellationToken.None);
|
||||
|
||||
// Assert
|
||||
|
||||
+2
-2
@@ -1,10 +1,10 @@
|
||||
#region ========================================================================= USING =====================================================================================
|
||||
using Lumina.Presentation.Web.Common.Services;
|
||||
using Nemera.Presentation.Web.Common.Services;
|
||||
using System;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
#endregion
|
||||
|
||||
namespace Lumina.Presentation.Web.UnitTests.Common.Services;
|
||||
namespace Nemera.Presentation.Web.UnitTests.Common.Services;
|
||||
|
||||
/// <summary>
|
||||
/// Contains unit tests for the <see cref="ScriptIdentifierHelper"/> class.
|
||||
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
#region ========================================================================= USING =====================================================================================
|
||||
using Lumina.Presentation.Web.Common.Services;
|
||||
using Nemera.Presentation.Web.Common.Services;
|
||||
using Microsoft.Extensions.Caching.Hybrid;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using System;
|
||||
@@ -8,7 +8,7 @@ using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
#endregion
|
||||
|
||||
namespace Lumina.Presentation.Web.UnitTests.Common.Services;
|
||||
namespace Nemera.Presentation.Web.UnitTests.Common.Services;
|
||||
|
||||
/// <summary>
|
||||
/// Contains unit tests for the <see cref="ThemeCachePreferenceService"/> class.
|
||||
|
||||
+9
-9
@@ -1,14 +1,14 @@
|
||||
#region ========================================================================= USING =====================================================================================
|
||||
using Lumina.Presentation.Web.Common.Routes;
|
||||
using Lumina.Presentation.Web.Common.Services;
|
||||
using Lumina.Presentation.Web.Fixtures.Common.TestHelpers;
|
||||
using Nemera.Presentation.Web.Common.Routes;
|
||||
using Nemera.Presentation.Web.Common.Services;
|
||||
using Nemera.Presentation.Web.Fixtures.Common.TestHelpers;
|
||||
using Microsoft.AspNetCore.Http;
|
||||
using NSubstitute;
|
||||
using System;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
#endregion
|
||||
|
||||
namespace Lumina.Presentation.Web.UnitTests.Common.Services;
|
||||
namespace Nemera.Presentation.Web.UnitTests.Common.Services;
|
||||
|
||||
/// <summary>
|
||||
/// Contains unit tests for the <see cref="UrlService"/> class.
|
||||
@@ -90,7 +90,7 @@ public class UrlServiceTests
|
||||
{
|
||||
// Arrange
|
||||
DefaultHttpContext httpContext = TestHttpContextFactory.Create(culture: "de-de");
|
||||
httpContext.Request.PathBase = "/lumina";
|
||||
httpContext.Request.PathBase = "/nemera";
|
||||
httpContext.Request.Host = new HostString("localhost:5012");
|
||||
httpContext.Request.Scheme = "https";
|
||||
_mockHttpContextAccessor.HttpContext.Returns(httpContext);
|
||||
@@ -99,7 +99,7 @@ public class UrlServiceTests
|
||||
string? url = _sut.GetAbsoluteUrl(WebRoutes.Authentication.REGISTER_VIEW);
|
||||
|
||||
// Assert
|
||||
Assert.Equal("https://localhost:5012/lumina/de-de/auth/register", url);
|
||||
Assert.Equal("https://localhost:5012/nemera/de-de/auth/register", url);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
@@ -202,7 +202,7 @@ public class UrlServiceTests
|
||||
{
|
||||
// Arrange
|
||||
DefaultHttpContext httpContext = TestHttpContextFactory.Create(culture: "de-de");
|
||||
httpContext.Request.PathBase = "/lumina";
|
||||
httpContext.Request.PathBase = "/nemera";
|
||||
httpContext.Request.Host = new HostString("localhost:5012");
|
||||
httpContext.Request.Scheme = "https";
|
||||
_mockHttpContextAccessor.HttpContext.Returns(httpContext);
|
||||
@@ -211,7 +211,7 @@ public class UrlServiceTests
|
||||
string? url = _sut.GetRelativeUrl(WebRoutes.Authentication.REGISTER_VIEW);
|
||||
|
||||
// Assert
|
||||
Assert.Equal("/lumina/de-de/auth/register", url);
|
||||
Assert.Equal("/nemera/de-de/auth/register", url);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
@@ -276,7 +276,7 @@ public class UrlServiceTests
|
||||
{
|
||||
// Arrange
|
||||
DefaultHttpContext httpContext = TestHttpContextFactory.Create(culture: "de-de");
|
||||
httpContext.Request.PathBase = "/lumina";
|
||||
httpContext.Request.PathBase = "/nemera";
|
||||
httpContext.Request.Host = new HostString("localhost:5012");
|
||||
httpContext.Request.Scheme = "https";
|
||||
_mockHttpContextAccessor.HttpContext.Returns(httpContext);
|
||||
|
||||
Reference in new issue
Block a user