mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 13:11:10 +00:00
Moves repository entities to Application layer for joint access
This commit is contained in:
1 parent
baf9854355
commit
7321fb89e2
120 files changed
+2606
-784
No files matched your search
+4
-5
@@ -6,17 +6,16 @@ using Lumina.Application.UnitTests.Core.FileSystemManagement.Directories.Fixture
|
||||
using Lumina.Application.UnitTests.Core.FileSystemManagement.Files.Fixtures;
|
||||
using Lumina.Application.UnitTests.Core.FileSystemManagement.FileSystem.Fixtures;
|
||||
using Lumina.Application.UnitTests.Core.FileSystemManagement.Fixtures;
|
||||
using Lumina.Contracts.Entities.FileSystemManagement;
|
||||
using Lumina.Domain.Common.Enums.FileSystem;
|
||||
using Lumina.Contracts.Responses.FileSystemManagement.Common;
|
||||
using Lumina.Domain.Common.Enums.FileSystem;
|
||||
using Lumina.Domain.Core.BoundedContexts.FileSystemManagementBoundedContext.FileSystemManagementAggregate;
|
||||
using Lumina.Domain.Core.BoundedContexts.FileSystemManagementBoundedContext.FileSystemManagementAggregate.Entities;
|
||||
using Lumina.Domain.Core.BoundedContexts.FileSystemManagementBoundedContext.FileSystemManagementAggregate.ValueObjects;
|
||||
using Lumina.Domain.Core.BoundedContexts.FileSystemManagementBoundedContext.FileSystemManagementAggregate.Entities;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using System.Linq;
|
||||
using Lumina.Contracts.DTO.FileSystemManagement;
|
||||
#endregion
|
||||
|
||||
namespace Lumina.Application.UnitTests.Common.Mapping.FileSystemManagement.FileSystem;
|
||||
@@ -57,7 +56,7 @@ public class FileSystemItemMappingTests
|
||||
// Arrange
|
||||
|
||||
// Act
|
||||
FileSystemItemEntity result = domainModel.ToFileSystemItemEntity();
|
||||
FileSystemItemDto result = domainModel.ToFileSystemItemDto();
|
||||
|
||||
// Assert
|
||||
result.Should().NotBeNull();
|
||||
@@ -147,7 +146,7 @@ public class FileSystemItemMappingTests
|
||||
FileSystemItemFixture domainModel = new(id, name, type);
|
||||
|
||||
// Act
|
||||
FileSystemItemEntity result = domainModel.ToFileSystemItemEntity();
|
||||
FileSystemItemDto result = domainModel.ToFileSystemItemDto();
|
||||
|
||||
// Assert
|
||||
result.Should().NotBeNull();
|
||||
|
||||
+4
-4
@@ -13,17 +13,17 @@ using System.Linq;
|
||||
namespace Lumina.Application.UnitTests.Common.Mapping.FileSystemManagement.Paths;
|
||||
|
||||
/// <summary>
|
||||
/// Contains unit tests for the <see cref="CheckPathExistsQueryMapping"/> class.
|
||||
/// Contains unit tests for the <see cref="CheckPathExistsRequestMapping"/> class.
|
||||
/// </summary>
|
||||
[ExcludeFromCodeCoverage]
|
||||
public class CheckPathExistsQueryMappingTests
|
||||
public class CheckPathExistsRequestMappingTests
|
||||
{
|
||||
private readonly IFixture _fixture;
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="CheckPathExistsQueryMappingTests"/> class.
|
||||
/// Initializes a new instance of the <see cref="CheckPathExistsRequestMappingTests"/> class.
|
||||
/// </summary>
|
||||
public CheckPathExistsQueryMappingTests()
|
||||
public CheckPathExistsRequestMappingTests()
|
||||
{
|
||||
_fixture = new Fixture().Customize(new AutoNSubstituteCustomization());
|
||||
}
|
||||
Reference in new issue
Block a user