This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 11.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/11.0.x by this push:
new 113e07da2c Correct order of expected and actual
113e07da2c is described below
commit 113e07da2c29c8e9e1f05a082084a3b9a92b38fd
Author: Mark Thomas <[email protected]>
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 bdd1af6972..4b96c282c2 100644
--- a/test/org/apache/catalina/realm/TestDataSourceRealm.java
+++ b/test/org/apache/catalina/realm/TestDataSourceRealm.java
@@ -143,7 +143,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: [email protected]
For additional commands, e-mail: [email protected]