flexible getting of a unique hg changeset

This commit is contained in:
Mohamed Karray
2018-10-29 16:55:53 +01:00
parent 4ffea849d7
commit 54af2104d6
2 changed files with 9 additions and 5 deletions

View File

@@ -169,7 +169,7 @@ public class ChangesetRootResourceTest extends RepositoryTestBase {
when(logCommandBuilder.setStartChangeset(anyString())).thenReturn(logCommandBuilder);
when(logCommandBuilder.getChangesets()).thenReturn(changesetPagingResult);
MockHttpRequest request = MockHttpRequest
.get(CHANGESET_URL + "id")
.get(CHANGESET_URL + id)
.accept(VndMediaType.CHANGESET);
MockHttpResponse response = new MockHttpResponse();
dispatcher.invoke(request, response);