aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/com/juick/server/tests
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2022-12-21 03:26:49 +0300
committerGravatar Vitaly Takmazov2022-12-21 03:26:49 +0300
commitcf437e3004149efe3b65e80d618374eb28cca641 (patch)
tree328147d3209d9a4330c1576c9acb4c2b6cc358b6 /src/test/java/com/juick/server/tests
parent1ad1b73a7b85e7e907de1870991a8849487f9543 (diff)
external tokens: adopt records
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 76146dd9..236c113b 100644
--- a/src/test/java/com/juick/server/tests/ServerTests.java
+++ b/src/test/java/com/juick/server/tests/ServerTests.java
@@ -781,7 +781,7 @@ public class ServerTests {
});
assertThat(users.size(), is(1));
assertThat(users.get(0).getTokens().size(), is(1));
- assertThat(users.get(0).getTokens().get(0).getToken(), equalTo(token));
+ assertThat(users.get(0).getTokens().get(0).token(), equalTo(token));
}
@Test