File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -830,7 +830,7 @@ public async Task Map_MapAs_ReturnsTopicReference() {
830830 var target = ( MapAsTopicViewModel ? ) await _mappingService . MapAsync ( topic ) . ConfigureAwait ( false ) ;
831831
832832 Assert . NotNull ( target ? . TopicReference ) ;
833- Assert . Equal < Type ? > ( typeof ( AscendentTopicViewModel ) , target ? . TopicReference ? . GetType ( ) ) ;
833+ Assert . IsType < AscendentTopicViewModel > ( target ? . TopicReference ) ;
834834
835835 }
836836
@@ -855,7 +855,7 @@ public async Task Map_MapAs_ReturnsRelationships() {
855855 var target = ( MapAsTopicViewModel ? ) await _mappingService . MapAsync ( topic ) . ConfigureAwait ( false ) ;
856856
857857 Assert . Single ( target ? . Relationships ) ;
858- Assert . Equal < Type ? > ( typeof ( AscendentTopicViewModel ) , target ? . Relationships . FirstOrDefault ( ) ? . GetType ( ) ) ;
858+ Assert . IsType < AscendentTopicViewModel > ( target ? . Relationships . FirstOrDefault ( ) ) ;
859859
860860 }
861861
You can’t perform that action at this time.
0 commit comments