Commit 48046c6a authored by Almouhannad's avatar Almouhannad

(B) Update arch test

parent 507a10ae
...@@ -78,34 +78,6 @@ public class ArchitectureTests ...@@ -78,34 +78,6 @@ public class ArchitectureTests
} }
[Fact]
public void Infrastructure_Should_Not_HaveDependencyOnPresentation()
{
#region Arrange
var assembly = Infrastructure.AssemblyReference.Assembly;
var otherProjects = new[]
{
PersistenceNamespace,
PresentationNamespace,
APINamespace
};
#endregion
#region Act
var testResult = Types
.InAssembly(assembly)
.ShouldNot()
.HaveDependencyOnAll(otherProjects)
.GetResult();
#endregion
#region Assert
testResult.IsSuccessful.Should().BeTrue();
#endregion
}
[Fact] [Fact]
public void Persistence_Should_Not_HaveDependencyOnPresentation() public void Persistence_Should_Not_HaveDependencyOnPresentation()
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment