aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/com
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2019-08-09 11:47:11 +0300
committerGravatar Vitaly Takmazov2019-08-09 11:47:11 +0300
commit4f1b9963598fcd9d24a05c21560934b78709f031 (patch)
tree8220f32f2811703563408e80b8a60dc44f3701a4 /src/test/java/com
parentba27618f479974e8cef76c19e498d8d33106c043 (diff)
Revert "Evict caches on user changes, fix tests"
This reverts commit 17578516fe0978602ddfac56055cfb1d1b2e0121.
Diffstat (limited to 'src/test/java/com')
-rw-r--r--src/test/java/com/juick/server/tests/ServerTests.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/test/java/com/juick/server/tests/ServerTests.java b/src/test/java/com/juick/server/tests/ServerTests.java
index 0064a589..de742447 100644
--- a/src/test/java/com/juick/server/tests/ServerTests.java
+++ b/src/test/java/com/juick/server/tests/ServerTests.java
@@ -1909,9 +1909,7 @@ public class ServerTests {
@Test
public void verifiedUsersTest(){
assertThat(userService.getUserByName("ugnich").isVerified(), is(false));
- crosspostService.addFacebookState("12345", "http://localhost");
- crosspostService.createFacebookUser(12345, "12345", "5678", "ugnich");
- crosspostService.setFacebookUser("12345", ugnich.getUid());
+ jdbcTemplate.update("INSERT INTO facebook(user_id, fb_id) VALUES(?, ?)", ugnich.getUid(), "100001866137681");
assertThat(userService.getUserByName("ugnich").isVerified(), is(true));
}
@Test