We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Load()
1 parent dc6b8ad commit 806ca93Copy full SHA for 806ca93
1 file changed
OnTopic.Tests/TopicMappingServiceTest.cs
@@ -680,7 +680,7 @@ public async Task Map_AlternateRelationship_ReturnsCorrectRelationship() {
680
[Fact]
681
public async Task Map_CustomCollection_ReturnsCollection() {
682
683
- var topic = (ContentTypeDescriptor)_topicRepository.Load("Root:Configuration:ContentTypes:Page");
+ var topic = (ContentTypeDescriptor?)_topicRepository.Load("Root:Configuration:ContentTypes:Page");
684
var target = await _mappingService.MapAsync<ContentTypeDescriptorTopicViewModel>(topic).ConfigureAwait(false);
685
686
Assert.Equal<int?>(8, target?.AttributeDescriptors.Count);
0 commit comments