aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/com/juick/server/tests
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2022-12-15 15:43:41 +0300
committerGravatar Vitaly Takmazov2022-12-15 15:43:41 +0300
commitea4910a937f2e9310ad328bc47237662f8bcbd2c (patch)
tree8ae6c89a69a61c35ae9eb333e56814372c72510e /src/test/java/com/juick/server/tests
parentde3834478f722a1790f0b65cc86a6e5b29fbf16a (diff)
postgres: pass tests without implicit string types casts
Diffstat (limited to 'src/test/java/com/juick/server/tests')
-rw-r--r--src/test/java/com/juick/server/tests/ServerTests.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/java/com/juick/server/tests/ServerTests.java b/src/test/java/com/juick/server/tests/ServerTests.java
index d964185d..224743a7 100644
--- a/src/test/java/com/juick/server/tests/ServerTests.java
+++ b/src/test/java/com/juick/server/tests/ServerTests.java
@@ -2333,7 +2333,7 @@ public class ServerTests {
public void verifiedUsersTest() {
assertThat(userService.getUserByName("ugnich").isVerified(), is(false));
jdbcTemplate.update("INSERT INTO telegram(user_id, tg_id, tg_name) VALUES(?, ?, ?)", ugnich.getUid(),
- "100001866137681", "tg_test");
+ 100001866137681L, "tg_test");
assertThat(userService.canDeleteTelegramUser(userService.getUserByName("ugnich")), is(false));
userService.addFacebookState("12345", "http://localhost");
userService.createFacebookUser(12345, "12345", "5678", "ugnich");