Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.egit.github.core.tests/src/org/eclipse/egit/github/core/tests/GistServiceTest.java')
-rw-r--r--org.eclipse.egit.github.core.tests/src/org/eclipse/egit/github/core/tests/GistServiceTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.egit.github.core.tests/src/org/eclipse/egit/github/core/tests/GistServiceTest.java b/org.eclipse.egit.github.core.tests/src/org/eclipse/egit/github/core/tests/GistServiceTest.java
index b88f31c9..fe0c0d1b 100644
--- a/org.eclipse.egit.github.core.tests/src/org/eclipse/egit/github/core/tests/GistServiceTest.java
+++ b/org.eclipse.egit.github.core.tests/src/org/eclipse/egit/github/core/tests/GistServiceTest.java
@@ -389,9 +389,9 @@ public class GistServiceTest {
* @throws IOException
*/
@Test
- public void createGistNullUser() throws IOException {
+ public void createGistNullOwner() throws IOException {
Gist gist = new Gist();
- gist.setUser(null);
+ gist.setOwner(null);
gistService.createGist(gist);
verify(gitHubClient).post("/gists", gist, Gist.class);
}

Back to the top