aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/com
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/java/com')
-rw-r--r--src/test/java/com/juick/tests/ApiTests.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/java/com/juick/tests/ApiTests.java b/src/test/java/com/juick/tests/ApiTests.java
index b679f528..046077ef 100644
--- a/src/test/java/com/juick/tests/ApiTests.java
+++ b/src/test/java/com/juick/tests/ApiTests.java
@@ -38,14 +38,14 @@ public class ApiTests {
@Test
public void userTests() {
User user = UserQueries.getUserByUID(jdbc, 3694);
- Assert.assertEquals("it should be me", "vt", user.UName);
+ Assert.assertEquals("it should be me", "vt", user.getUName());
}
@Test
public void messageTests() {
Message msg = MessagesQueries.getMessage(jdbc, 2817722);
- User ugnich = msg.User;
- Assert.assertEquals("ugnich", ugnich.UName);
+ User ugnich = msg.getUser();
+ Assert.assertEquals("ugnich", ugnich.getUName());
Assert.assertEquals("Microsoft", msg.Tags.get(0));
}
}