diff --git a/test/UnitTests/MSTest.CoreAdapter.Unit.Tests/Execution/TypeCacheTests.cs b/test/UnitTests/MSTest.CoreAdapter.Unit.Tests/Execution/TypeCacheTests.cs index c8d9e005a5..8a6559ae14 100644 --- a/test/UnitTests/MSTest.CoreAdapter.Unit.Tests/Execution/TypeCacheTests.cs +++ b/test/UnitTests/MSTest.CoreAdapter.Unit.Tests/Execution/TypeCacheTests.cs @@ -687,6 +687,7 @@ public void GetTestMethodInfoShouldCacheParentAndGrandparentClassInitAndCleanupA this.typeCache.GetTestMethodInfo( testMethod, new TestContextImplementation(testMethod, null, new Dictionary()), + this.executionRecorderWrapper, false); var classInfo = this.typeCache.ClassInfoCache.FirstOrDefault();