commit | 68c0457f17b81639b6082f4f78021e59e7c114c1 | [log] [tgz] |
---|---|---|
author | Marc Kupietz <kupietz@ids-mannheim.de> | Wed Sep 24 14:28:26 2025 +0200 |
committer | Marc Kupietz <kupietz@ids-mannheim.de> | Wed Sep 24 14:28:26 2025 +0200 |
tree | f9f2b8b278aaa84759fe84009292d51f78cebcba | |
parent | cb8fb291895e793b780e6b6a4cc67290cb1a068e [diff] |
Fix assert argument order in APIAuthenticationTest Change-Id: Ic011db03e03122df4f8bb892f35531acbb2228bc
diff --git a/src/test/java/de/ids_mannheim/korap/authentication/APIAuthenticationTest.java b/src/test/java/de/ids_mannheim/korap/authentication/APIAuthenticationTest.java index eeb3ea6..9a22d24 100644 --- a/src/test/java/de/ids_mannheim/korap/authentication/APIAuthenticationTest.java +++ b/src/test/java/de/ids_mannheim/korap/authentication/APIAuthenticationTest.java
@@ -64,6 +64,6 @@ context = auth.getTokenContext(authToken); TokenType tokenType = context.getTokenType(); assertEquals(TokenType.API, tokenType); - assertEquals(context.getUsername(), "testUser"); + assertEquals("testUser", context.getUsername()); } }