diff options
author | Kevin Sawicki | 2011-06-20 17:38:44 +0000 |
---|---|---|
committer | Kevin Sawicki | 2011-06-20 17:38:44 +0000 |
commit | 86088517ea1a2130f2f2ae5b1ee08b7141bfda01 (patch) | |
tree | 3ff5c4cb4083999cdeda64e58f015eddff82e476 /org.eclipse.egit.github.core.tests/src/org/eclipse/egit/github/core/tests/PullRequestServiceTest.java | |
parent | 428921aac3dfaa973d07fe64d72857e4a898daa9 (diff) | |
download | egit-github-86088517ea1a2130f2f2ae5b1ee08b7141bfda01.tar.gz egit-github-86088517ea1a2130f2f2ae5b1ee08b7141bfda01.tar.xz egit-github-86088517ea1a2130f2f2ae5b1ee08b7141bfda01.zip |
Migrate repository and pull request services to v3.
Searching for repositories still uses the v2 API which is why
the two repository models are now required.
Change-Id: I18700446790337031be2faf9114ff2bb581fdeb3
Signed-off-by: Kevin Sawicki <kevin@github.com>
Diffstat (limited to 'org.eclipse.egit.github.core.tests/src/org/eclipse/egit/github/core/tests/PullRequestServiceTest.java')
-rw-r--r-- | org.eclipse.egit.github.core.tests/src/org/eclipse/egit/github/core/tests/PullRequestServiceTest.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.egit.github.core.tests/src/org/eclipse/egit/github/core/tests/PullRequestServiceTest.java b/org.eclipse.egit.github.core.tests/src/org/eclipse/egit/github/core/tests/PullRequestServiceTest.java index 5434871b..0bd1bb6b 100644 --- a/org.eclipse.egit.github.core.tests/src/org/eclipse/egit/github/core/tests/PullRequestServiceTest.java +++ b/org.eclipse.egit.github.core.tests/src/org/eclipse/egit/github/core/tests/PullRequestServiceTest.java @@ -14,7 +14,7 @@ import static org.mockito.Mockito.when; import java.io.IOException; -import org.eclipse.egit.github.core.Repository; +import org.eclipse.egit.github.core.SearchRepository; import org.eclipse.egit.github.core.client.GitHubClient; import org.eclipse.egit.github.core.service.PullRequestService; import org.junit.Before; @@ -34,7 +34,7 @@ public class PullRequestServiceTest { private GitHubClient gitHubClient; @Mock - private Repository repository; + private SearchRepository repository; private PullRequestService pullRequestService; |