mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-12 22:41:35 +00:00
#2386 - Fix test with logging change
This commit is contained in:
1 parent
d0909ad140
commit
c9c61d9f97
1 file changed
+4
-5
@@ -11,15 +11,14 @@ public class ProviderAutoConfigTest {
|
||||
|
||||
@Test
|
||||
public void msg() {
|
||||
|
||||
assertEquals(config.msg(1), "for testing purposes a current user provider has been configured. Use io.ebean.test.UserContext to set current user in tests.");
|
||||
assertEquals(config.msg(2), "for testing purposes a current tenant provider has been configured. Use io.ebean.test.UserContext to set current tenant in tests.");
|
||||
assertEquals(config.msg(3), "for testing purposes a current user and tenant provider has been configured. Use io.ebean.test.UserContext to set current user and tenant in tests.");
|
||||
assertEquals(config.msg(1), "For testing purposes a current user provider has been configured. Use io.ebean.test.UserContext to set current user in tests.");
|
||||
assertEquals(config.msg(2), "For testing purposes a current tenant provider has been configured. Use io.ebean.test.UserContext to set current tenant in tests.");
|
||||
assertEquals(config.msg(3), "For testing purposes a current user and tenant provider has been configured. Use io.ebean.test.UserContext to set current user and tenant in tests.");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void msgUnexpected() {
|
||||
// rather than fail ...
|
||||
assertEquals(config.msg(4), "for testing purposes [unexpected??] has been configured. Use io.ebean.test.UserContext to [unexpected??] in tests.");
|
||||
assertEquals(config.msg(4), "For testing purposes [unexpected??] has been configured. Use io.ebean.test.UserContext to [unexpected??] in tests.");
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user