diff options
author | Michael Keppler | 2019-07-04 05:17:27 +0000 |
---|---|---|
committer | Michael Keppler | 2019-07-06 05:42:45 +0000 |
commit | 3eb1b0eadb30c2d75259171ba9037601ba00b81e (patch) | |
tree | 5b5536901720a278416366c6f8055b105410e7f0 /org.eclipse.egit.github.core.tests/src/org | |
parent | b63c233bb460629b0ce018b2c79e0c388b1ea889 (diff) | |
download | egit-github-3eb1b0eadb30c2d75259171ba9037601ba00b81e.tar.gz egit-github-3eb1b0eadb30c2d75259171ba9037601ba00b81e.tar.xz egit-github-3eb1b0eadb30c2d75259171ba9037601ba00b81e.zip |
Use not deprecated hook test URL
The singular "/test" is deprecated according to
https://developer.github.com/v3/repos/hooks/#test-a-push-hook. That
segment is not used anywhere else, so it can be changed without having a
copy of the singular version.
Bug:548762
Change-Id: Iecd00e422544d4a851e665330c876f2c1cf9ec8c
Signed-off-by: Michael Keppler <Michael.Keppler@gmx.de>
Diffstat (limited to 'org.eclipse.egit.github.core.tests/src/org')
-rw-r--r-- | org.eclipse.egit.github.core.tests/src/org/eclipse/egit/github/core/tests/RepositoryServiceTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.egit.github.core.tests/src/org/eclipse/egit/github/core/tests/RepositoryServiceTest.java b/org.eclipse.egit.github.core.tests/src/org/eclipse/egit/github/core/tests/RepositoryServiceTest.java index b623d09b..e5c8fe2a 100644 --- a/org.eclipse.egit.github.core.tests/src/org/eclipse/egit/github/core/tests/RepositoryServiceTest.java +++ b/org.eclipse.egit.github.core.tests/src/org/eclipse/egit/github/core/tests/RepositoryServiceTest.java @@ -625,7 +625,7 @@ public class RepositoryServiceTest { @Test public void runHook() throws IOException { service.testHook(repo, 5609); - verify(client).post("/repos/o/n/hooks/5609/test"); + verify(client).post("/repos/o/n/hooks/5609/tests"); } /** |