File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ namespace Sample . Domain ;
2+
3+ public class PlaceHolder
4+ {
5+
6+ }
Original file line number Diff line number Diff line change 2727 <Using Include =" Xunit" />
2828 </ItemGroup >
2929
30+ <ItemGroup >
31+ <ProjectReference Include =" ..\..\src\Api\Sample.Api.csproj" />
32+ <ProjectReference Include =" ..\..\src\Application\Sample.Application.csproj" />
33+ <ProjectReference Include =" ..\..\src\Domain\Sample.Domain.csproj" />
34+ <ProjectReference Include =" ..\..\src\Front\Sample.Front.csproj" />
35+ <ProjectReference Include =" ..\..\src\Infrastructure\Sample.Infrastructure.csproj" />
36+ </ItemGroup >
37+
3038</Project >
Original file line number Diff line number Diff line change @@ -7,9 +7,9 @@ public class ProjectReferenceTests
77 [ Fact ]
88 public void Domain_Should_Not_HaveDependencyOnOtherProjects ( )
99 {
10- var assembly = typeof ( Sample . Domain . AssemblyReference ) . Assembly ;
10+ var domainAssembly = typeof ( Sample . Domain . PlaceHolder ) . Assembly ;
1111
12- var result = Types . InAssembly ( assembly )
12+ var result = Types . InAssembly ( domainAssembly )
1313 . Should ( )
1414 . NotHaveDependencyOn ( "Sample.Application" )
1515 . And ( )
You can’t perform that action at this time.
0 commit comments