Updated test to reflect xunit version change

This commit is contained in:
Faizan Ahmad 2016-11-09 01:23:46 +05:30
parent cc450ed8ce
commit c9a5c95cd6

View file

@ -312,12 +312,12 @@ namespace Microsoft.DotNet.ProjectJsonMigration.Tests
mockProj.Items.Should().ContainSingle(
i => (i.Include == "xunit" &&
i.ItemType == "PackageReference" &&
i.GetMetadataWithName("Version").Value == "2.2.0-beta3-build3402"));
i.GetMetadataWithName("Version").Value == "2.2.0-beta4-build3444"));
mockProj.Items.Should().ContainSingle(
i => (i.Include == "xunit.runner.visualstudio" &&
i.ItemType == "PackageReference" &&
i.GetMetadataWithName("Version").Value == "2.2.0-beta4-build1188"));
i.GetMetadataWithName("Version").Value == "2.2.0-beta4-build1194"));
mockProj.Items.Should().NotContain(
i => (i.Include == "MSTest.TestAdapter" && i.ItemType == "PackageReference"));
@ -351,12 +351,12 @@ namespace Microsoft.DotNet.ProjectJsonMigration.Tests
mockProj.Items.Should().ContainSingle(
i => (i.Include == "xunit" &&
i.ItemType == "PackageReference" &&
i.GetMetadataWithName("Version").Value == "2.2.0-beta3-build3402"));
i.GetMetadataWithName("Version").Value == "2.2.0-beta4-build3444"));
mockProj.Items.Should().ContainSingle(
i => (i.Include == "xunit.runner.visualstudio" &&
i.ItemType == "PackageReference" &&
i.GetMetadataWithName("Version").Value == "2.2.0-beta4-build1188"));
i.GetMetadataWithName("Version").Value == "2.2.0-beta4-build1194"));
mockProj.Items.Should().NotContain(
i => (i.Include == "MSTest.TestAdapter" && i.ItemType == "PackageReference"));