From cf437e3004149efe3b65e80d618374eb28cca641 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Wed, 21 Dec 2022 03:26:49 +0300 Subject: external tokens: adopt records --- src/test/java/com/juick/server/tests/ServerTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/test/java/com') 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 -- cgit v1.2.3