aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2016-01-15 15:54:04 +0300
committerGravatar Vitaly Takmazov2016-01-15 15:54:04 +0300
commit30068e18a3d8ae37b509f5cd766515735a818692 (patch)
treec2028e65a088ff07393387cffc0b6ce7d2ddf9cb /src/test
parentabf2c56ab5bc2363a4f33f6f72b90396a9fd3df9 (diff)
update core
Diffstat (limited to 'src/test')
-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));
}
}