diff --git a/Habitat.sln b/Habitat.sln index e86a9c6371..5c3f9bff08 100644 --- a/Habitat.sln +++ b/Habitat.sln @@ -191,6 +191,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Sitecore.Foundation.Multisi EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Sitecore.Foundation.Theming.Tests", "src\Foundation\Theming\tests\Sitecore.Foundation.Theming.Tests.csproj", "{A4C73B2A-8F4A-48C5-BFEE-EA31B3DC34D3}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Sitecore.Foundation.SitecoreExtensions.Tests", "src\Foundation\SitecoreExtensions\Tests\Sitecore.Foundation.SitecoreExtensions.Tests.csproj", "{85F735B7-9BEE-43C3-94DF-539CE267F0B9}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -573,6 +575,14 @@ Global {A4C73B2A-8F4A-48C5-BFEE-EA31B3DC34D3}.Release|Any CPU.Build.0 = Release|Any CPU {A4C73B2A-8F4A-48C5-BFEE-EA31B3DC34D3}.Release|x64.ActiveCfg = Release|Any CPU {A4C73B2A-8F4A-48C5-BFEE-EA31B3DC34D3}.Release|x64.Build.0 = Release|Any CPU + {85F735B7-9BEE-43C3-94DF-539CE267F0B9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {85F735B7-9BEE-43C3-94DF-539CE267F0B9}.Debug|Any CPU.Build.0 = Debug|Any CPU + {85F735B7-9BEE-43C3-94DF-539CE267F0B9}.Debug|x64.ActiveCfg = Debug|Any CPU + {85F735B7-9BEE-43C3-94DF-539CE267F0B9}.Debug|x64.Build.0 = Debug|Any CPU + {85F735B7-9BEE-43C3-94DF-539CE267F0B9}.Release|Any CPU.ActiveCfg = Release|Any CPU + {85F735B7-9BEE-43C3-94DF-539CE267F0B9}.Release|Any CPU.Build.0 = Release|Any CPU + {85F735B7-9BEE-43C3-94DF-539CE267F0B9}.Release|x64.ActiveCfg = Release|Any CPU + {85F735B7-9BEE-43C3-94DF-539CE267F0B9}.Release|x64.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -659,6 +669,7 @@ Global {1E797ECB-D017-4ED6-8706-BC89B556F26C} = {65673857-6BDF-408E-ACD8-417A0BCCAB7A} {57295D42-6C03-455B-8202-12AEAF233677} = {FE63FBCC-D03E-4439-A428-028A6FF8B15A} {A4C73B2A-8F4A-48C5-BFEE-EA31B3DC34D3} = {F7F6C8C8-67C9-40D9-946F-62630C39102A} + {85F735B7-9BEE-43C3-94DF-539CE267F0B9} = {BE813EFD-133F-4BDE-AD25-A67D16A218CA} EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {6822019A-56D3-4695-9B9E-96F9D10ECD75} diff --git a/src/Feature/News/Tests/NewsRepositoryTests.cs b/src/Feature/News/Tests/NewsRepositoryTests.cs index 70ea0bba9e..fc4861ea52 100644 --- a/src/Feature/News/Tests/NewsRepositoryTests.cs +++ b/src/Feature/News/Tests/NewsRepositoryTests.cs @@ -25,7 +25,7 @@ public void Get_NullAs1Parameter_ThrowArgumentNullException([Frozen] ISearchServ { var repo = new NewsRepository(searchServiceRepository); Action act = () => repo.Get(null); - act.ShouldThrow(); + act.Should().Throw(); } [Theory] @@ -34,7 +34,7 @@ public void Get_ItemNotDerivedFromNewsFolderTemplate_ThrowArgumentNullException( { var repo = new NewsRepository(searchServiceRepository); Action act = () => repo.Get(contextItem); - act.ShouldThrow(); + act.Should().Throw(); } } } \ No newline at end of file diff --git a/src/Feature/News/Tests/SearchSettingsTests.cs b/src/Feature/News/Tests/SearchSettingsTests.cs index ad1a40a7c1..8504b1ce4d 100644 --- a/src/Feature/News/Tests/SearchSettingsTests.cs +++ b/src/Feature/News/Tests/SearchSettingsTests.cs @@ -19,7 +19,7 @@ public class SearchSettingsTests public void Root_SetRootSomeItem_RootShouldReturnsSameItem(SearchSettingsBase settings, Item item) { settings.Root = item; - settings.Root.ShouldBeEquivalentTo(item); + settings.Root.Should().BeEquivalentTo(item); } } } diff --git a/src/Feature/News/Tests/Sitecore.Feature.News.Tests.csproj b/src/Feature/News/Tests/Sitecore.Feature.News.Tests.csproj index 4e4b3223af..680c88789e 100644 --- a/src/Feature/News/Tests/Sitecore.Feature.News.Tests.csproj +++ b/src/Feature/News/Tests/Sitecore.Feature.News.Tests.csproj @@ -1,6 +1,7 @@  - + + Debug @@ -34,15 +35,11 @@ 4 - - ..\..\..\..\packages\Castle.Core.3.3.3\lib\net45\Castle.Core.dll - True - - - ..\..\..\..\packages\FluentAssertions.4.19.3\lib\net45\FluentAssertions.dll + + ..\..\..\..\packages\Castle.Core.4.3.0\lib\net45\Castle.Core.dll - - ..\..\..\..\packages\FluentAssertions.4.19.3\lib\net45\FluentAssertions.Core.dll + + ..\..\..\..\packages\FluentAssertions.5.4.0\lib\net45\FluentAssertions.dll ..\..\..\..\packages\SharpZipLib.0.86.0\lib\20\ICSharpCode.SharpZipLib.dll @@ -64,20 +61,17 @@ ..\..\..\..\packages\Microsoft.Web.Infrastructure.1.0.0.0\lib\net40\Microsoft.Web.Infrastructure.dll True - - ..\..\..\..\packages\Moq.4.5.30\lib\net45\Moq.dll - True + + ..\..\..\..\packages\Moq.4.8.3\lib\net45\Moq.dll - - ..\..\..\..\packages\netDumbster.1.3.0.7\lib\net40\netDumbster.dll - True + + ..\..\..\..\packages\netDumbster.2.0.0.2\lib\net451\netDumbster.dll ..\..\..\..\packages\Newtonsoft.Json.9.0.1\lib\net45\Newtonsoft.Json.dll - - ..\..\..\..\packages\NSubstitute.1.10.0.0\lib\net45\NSubstitute.dll - True + + ..\..\..\..\packages\NSubstitute.3.1.0\lib\net46\NSubstitute.dll ..\..\..\..\packages\AutoFixture.3.50.3\lib\net40\Ploeh.AutoFixture.dll @@ -119,6 +113,12 @@ ..\..\..\..\packages\Microsoft.AspNet.WebApi.Client.5.2.3\lib\net45\System.Net.Http.Formatting.dll True + + ..\..\..\..\packages\System.Threading.Tasks.Extensions.4.3.0\lib\portable-net45+win8+wp8+wpa81\System.Threading.Tasks.Extensions.dll + + + ..\..\..\..\packages\System.ValueTuple.4.4.0\lib\net461\System.ValueTuple.dll + ..\..\..\..\packages\Microsoft.AspNet.WebPages.3.2.3\lib\net45\System.Web.Helpers.dll @@ -162,14 +162,14 @@ ..\..\..\..\packages\xunit.abstractions.2.0.1\lib\net35\xunit.abstractions.dll True - - ..\..\..\..\packages\xunit.assert.2.2.0\lib\netstandard1.1\xunit.assert.dll + + ..\..\..\..\packages\xunit.assert.2.3.1\lib\netstandard1.1\xunit.assert.dll - - ..\..\..\..\packages\xunit.extensibility.core.2.2.0\lib\netstandard1.1\xunit.core.dll + + ..\..\..\..\packages\xunit.extensibility.core.2.3.1\lib\netstandard1.1\xunit.core.dll - - ..\..\..\..\packages\xunit.extensibility.execution.2.2.0\lib\net452\xunit.execution.desktop.dll + + ..\..\..\..\packages\xunit.extensibility.execution.2.3.1\lib\net452\xunit.execution.desktop.dll @@ -218,8 +218,11 @@ This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - + + + +