Skip to content

Commit

Permalink
Fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
thepirat000 committed Oct 9, 2023
1 parent 881d968 commit 497cce1
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -313,8 +313,9 @@ public async Task Test_DbCommandInterceptor_IncludeReaderResultAsync()
Assert.AreEqual("Test", resultList.Values.First()[0]["Name"]);
}

#if EF_CORE_7_OR_GREATER
[Test]
public async Task Test_DbCommandInterceptor_IncludeReaderResult_MultipleResultSets_Async()
public async Task Test_DbCommandInterceptor_IncludeReaderResult_MultipleResultSets_EfCore7_Async()
{
var inserted = new List<CommandEvent>();
Audit.Core.Configuration.Setup()
Expand Down Expand Up @@ -347,6 +348,7 @@ public async Task Test_DbCommandInterceptor_IncludeReaderResult_MultipleResultSe

Assert.AreEqual(2, (inserted[0].Result as ICollection)?.Count); // Two result sets
}
#endif

#if EF_CORE_5_OR_GREATER
[Test]
Expand Down

0 comments on commit 497cce1

Please sign in to comment.