From c9c61d9f973649c106155e5b6b5ca75e8d558b5f Mon Sep 17 00:00:00 2001 From: Rob Bygrave Date: Thu, 23 Sep 2021 00:13:53 +1200 Subject: [PATCH] #2386 - Fix test with logging change --- .../test/config/provider/ProviderAutoConfigTest.java | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/ebean-test/src/test/java/io/ebean/test/config/provider/ProviderAutoConfigTest.java b/ebean-test/src/test/java/io/ebean/test/config/provider/ProviderAutoConfigTest.java index 1ff9d0816..a4c528fff 100644 --- a/ebean-test/src/test/java/io/ebean/test/config/provider/ProviderAutoConfigTest.java +++ b/ebean-test/src/test/java/io/ebean/test/config/provider/ProviderAutoConfigTest.java @@ -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."); } }