GH docs have moved, adjust assertion accordingly.

This commit is contained in:
Mårten Gustafson
2020-10-20 18:41:17 +02:00
parent f1ca0b5417
commit c5d3a7d573

View File

@@ -125,7 +125,7 @@ public class WireMockStatusReporterTest extends AbstractGitHubWireMockTest {
assertThat(e, Matchers.<Exception>instanceOf(GHFileNotFoundException.class));
assertThat(e.getMessage(),
containsString(
"{\"message\":\"Not Found\",\"documentation_url\":\"https://developer.github.com/v3/repos/#get\"}"));
"{\"message\":\"Not Found\",\"documentation_url\":\"https://docs.github.com/rest/reference/repos#get-a-repository\"}"));
}
@Test