From 88bdb942ec39e4364ee4534b016b9740d8af607d Mon Sep 17 00:00:00 2001 From: Simon Geering <25039878+SimonGeering@users.noreply.github.com> Date: Wed, 7 Apr 2021 11:54:48 +0100 Subject: [PATCH] #167 Added mappings for Currency CRUD DTOs --- .../AutoMapper_WebAPIMappingProfile_UnitTest.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/AdminAssistant.Test/AutoMapper_WebAPIMappingProfile_UnitTest.cs b/src/AdminAssistant.Test/AutoMapper_WebAPIMappingProfile_UnitTest.cs index 91bd6866..86d06311 100644 --- a/src/AdminAssistant.Test/AutoMapper_WebAPIMappingProfile_UnitTest.cs +++ b/src/AdminAssistant.Test/AutoMapper_WebAPIMappingProfile_UnitTest.cs @@ -60,7 +60,6 @@ public void HaveValidConfiguration() [InlineData(typeof(BankAccountTransaction), typeof(BankAccountTransactionResponseDto))] [InlineData(typeof(BankAccountCreateRequestDto), typeof(BankAccount))] [InlineData(typeof(BankAccountUpdateRequestDto), typeof(BankAccount))] - public void ShouldSupportAccountsModuleMappingFromSourceToDestination(Type source, Type destination) { // Arrange @@ -136,6 +135,8 @@ public void ShouldSupportContactsModuleMappingFromSourceToDestination(Type sourc [Theory] [Trait("Category", "Unit")] [InlineData(typeof(Currency), typeof(CurrencyResponseDto))] + [InlineData(typeof(CurrencyCreateRequestDto), typeof(Currency))] + [InlineData(typeof(CurrencyUpdateRequestDto), typeof(Currency))] public void ShouldSupportCoreModuleMappingFromSourceToDestination(Type source, Type destination) { // Arrange