Skip to content

Commit afabf2c

Browse files
committed
Fixed tests.
1 parent 9a621be commit afabf2c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

test/UnitTests/MSTest.CoreAdapter.Unit.Tests/Discovery/AssemblyEnumeratorTests.cs

+6
Original file line numberDiff line numberDiff line change
@@ -424,6 +424,12 @@ private static Mock<TestableAssembly> CreateMockTestableAssembly()
424424
true))
425425
.Returns(new Attribute[0]);
426426

427+
mockAssembly
428+
.Setup(a => a.GetCustomAttributes(
429+
typeof(FrameworkV2::Microsoft.VisualStudio.TestTools.UnitTesting.TestDataSourceDiscoveryAttribute),
430+
true))
431+
.Returns(new Attribute[0]);
432+
427433
return mockAssembly;
428434
}
429435

0 commit comments

Comments
 (0)