This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch 9.0.x in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/9.0.x by this push: new b4a0e3b661 Correct order of expected and actual b4a0e3b661 is described below commit b4a0e3b66195aeb0055aa743c6bf14f3a753c1a6 Author: Mark Thomas <ma...@apache.org> AuthorDate: Fri Aug 15 17:57:34 2025 +0100 Correct order of expected and actual --- test/org/apache/catalina/realm/TestDataSourceRealm.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/org/apache/catalina/realm/TestDataSourceRealm.java b/test/org/apache/catalina/realm/TestDataSourceRealm.java index 168fe5dd0b..6c09624e1f 100644 --- a/test/org/apache/catalina/realm/TestDataSourceRealm.java +++ b/test/org/apache/catalina/realm/TestDataSourceRealm.java @@ -147,7 +147,7 @@ public class TestDataSourceRealm extends LoggingBaseTest { Assert.assertFalse(gp.hasRole("manager")); String pass = db.getPassword("tomcat"); - Assert.assertEquals(pass, "password"); + Assert.assertEquals("password", pass); List<String> roles = db.getRoles("tomcat"); Assert.assertEquals(2, roles.size()); --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org