From 5744f038b9bc29ec9092fa02d96d26740eb88057 Mon Sep 17 00:00:00 2001 From: Jim Burger Date: Tue, 21 May 2019 14:51:10 +1000 Subject: [PATCH] Fixing test failures --- .../Repositories/Async/BasicRepositoryFixture.cs | 4 ++-- .../Repositories/BasicRepositoryFixture.cs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/source/Octopus.Client.Tests/Repositories/Async/BasicRepositoryFixture.cs b/source/Octopus.Client.Tests/Repositories/Async/BasicRepositoryFixture.cs index 8a9fa4e16..d352bd75a 100644 --- a/source/Octopus.Client.Tests/Repositories/Async/BasicRepositoryFixture.cs +++ b/source/Octopus.Client.Tests/Repositories/Async/BasicRepositoryFixture.cs @@ -54,7 +54,7 @@ public void SpaceRepo_ResourceWithSpaceIdSet_NonMatchingSpaceIdThrows() activityUnderTest .ShouldThrow() - .WithMessage("The resource has a different space specified than the one specified by the repository scope. Either change the SpaceId on the resource to Spaces-1, or use a repository that is scoped to Spaces-2."); + .WithMessage("The resource has a different space specified than the one specified by the repository. Either change the SpaceId on the resource to Spaces-1, or use a repository that is scoped to Spaces-2."); } [Test] @@ -95,7 +95,7 @@ public void SpaceRepo_MixedResourceWithSpaceIdSet_NonMatchingSpaceIdThrows() Action activityUnderTest = () => repoForMixedScopedResource.Modify(resource).Wait(); activityUnderTest .ShouldThrow() - .WithMessage("The resource has a different space specified than the one specified by the repository scope. Either change the SpaceId on the resource to Spaces-1, or use a repository that is scoped to Spaces-2."); + .WithMessage("The resource has a different space specified than the one specified by the repository. Either change the SpaceId on the resource to Spaces-1, or use a repository that is scoped to Spaces-2."); } [Test] diff --git a/source/Octopus.Client.Tests/Repositories/BasicRepositoryFixture.cs b/source/Octopus.Client.Tests/Repositories/BasicRepositoryFixture.cs index 0dc527d58..3bcf85a3f 100644 --- a/source/Octopus.Client.Tests/Repositories/BasicRepositoryFixture.cs +++ b/source/Octopus.Client.Tests/Repositories/BasicRepositoryFixture.cs @@ -54,7 +54,7 @@ public void SpaceRepo_ResourceWithSpaceIdSet_NonMatchingSpaceIdThrows() activityUnderTest .ShouldThrow() - .WithMessage("The resource has a different space specified than the one specified by the repository scope. Either change the SpaceId on the resource to Spaces-1, or use a repository that is scoped to Spaces-2."); + .WithMessage("The resource has a different space specified than the one specified by the repository. Either change the SpaceId on the resource to Spaces-1, or use a repository that is scoped to Spaces-2."); } [Test] @@ -95,7 +95,7 @@ public void SpaceRepo_MixedResourceWithSpaceIdSet_NonMatchingSpaceIdThrows() Action activityUnderTest = () => repoForMixedScopedResource.Modify(resource); activityUnderTest .ShouldThrow() - .WithMessage("The resource has a different space specified than the one specified by the repository scope. Either change the SpaceId on the resource to Spaces-1, or use a repository that is scoped to Spaces-2."); + .WithMessage("The resource has a different space specified than the one specified by the repository. Either change the SpaceId on the resource to Spaces-1, or use a repository that is scoped to Spaces-2."); } [Test]