Skip to content

Commit

Permalink
Fixing test failures
Browse files Browse the repository at this point in the history
  • Loading branch information
jburger committed May 21, 2019
1 parent d920ea0 commit 5744f03
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public void SpaceRepo_ResourceWithSpaceIdSet_NonMatchingSpaceIdThrows()

activityUnderTest
.ShouldThrow<ResourceSpaceDoesNotMatchRepositorySpaceException>()
.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]
Expand Down Expand Up @@ -95,7 +95,7 @@ public void SpaceRepo_MixedResourceWithSpaceIdSet_NonMatchingSpaceIdThrows()
Action activityUnderTest = () => repoForMixedScopedResource.Modify(resource).Wait();
activityUnderTest
.ShouldThrow<ResourceSpaceDoesNotMatchRepositorySpaceException>()
.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]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public void SpaceRepo_ResourceWithSpaceIdSet_NonMatchingSpaceIdThrows()

activityUnderTest
.ShouldThrow<ResourceSpaceDoesNotMatchRepositorySpaceException>()
.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]
Expand Down Expand Up @@ -95,7 +95,7 @@ public void SpaceRepo_MixedResourceWithSpaceIdSet_NonMatchingSpaceIdThrows()
Action activityUnderTest = () => repoForMixedScopedResource.Modify(resource);
activityUnderTest
.ShouldThrow<ResourceSpaceDoesNotMatchRepositorySpaceException>()
.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]
Expand Down

0 comments on commit 5744f03

Please sign in to comment.