-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
67 additions
and
187 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 1 addition & 15 deletions
16
tests/Orion.Test/Api/Controllers/BaseController/BaseControllerTest.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,9 @@ | ||
using AutoMapper; | ||
using Moq; | ||
using Orion.Api.AutoMapper.Config; | ||
|
||
namespace Orion.Test.Api.Controllers.BaseController; | ||
|
||
public class BaseControllerTest | ||
{ | ||
protected readonly IMapper Mapper; | ||
|
||
public BaseControllerTest() | ||
{ | ||
var mockMapper = new Mock<IMapper>(); | ||
|
||
var mappingConfig = new MapperConfiguration(mc => | ||
{ | ||
mc.AddProfile(new InputToDomainProfile()); | ||
mc.AddProfile(new DomainToOutputProfile()); | ||
}); | ||
|
||
Mapper = mappingConfig.CreateMapper(); | ||
|
||
} | ||
} |
122 changes: 0 additions & 122 deletions
122
tests/Orion.Test/Api/Controllers/CustomersControllerTest.cs
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.