Skip to content
This repository has been archived by the owner on Jul 9, 2021. It is now read-only.

Commit

Permalink
fixes broken test after merge
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Derry committed Jul 25, 2019
1 parent 8948019 commit 93af59b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,14 +69,14 @@ public void SearchV3ReturnsBadRequestWhenLevelFormatIsInvalid(string levels)
[Test]
public void ApprenticeshipsAutocompleteV3Return200StatusCodeOnSuccessfulSearch()
{
_apprenticeshipSearchServiceV3.Setup(x => x.SearchApprenticeships(It.IsAny<string>(), It.IsAny<int>(), It.IsAny<int>(), It.IsAny<int>(), It.IsAny<List<int>>())).Returns(TestSearchResult());
_apprenticeshipSearchServiceV3.Setup(x => x.SearchApprenticeships(It.IsAny<string>(), It.IsAny<int>(), It.IsAny<int>(), It.IsAny<int>(), It.IsAny<List<int>>())).Returns(TestSearchApprenticeResult());

var result = _sut.ApprenticeshipsAutocomplete("admin");

result.Should().BeOfType<OkNegotiatedContentResult<ApprenticeshipAutocompleteSearchResults>>();
}

private static ApprenticeshipSearchResults TestSearchResult()
private static ApprenticeshipSearchResults TestSearchApprenticeResult()
{
return new ApprenticeshipSearchResults();
}
Expand Down

0 comments on commit 93af59b

Please sign in to comment.