From 624e92840c7dd1b9823a1ffb66082ba0d72c01bd Mon Sep 17 00:00:00 2001 From: Rob Bygrave Date: Mon, 6 Nov 2023 12:55:22 +1300 Subject: [PATCH] Adjust "for testing purposes" log messages --- .../test/config/provider/ProviderAutoConfigTest.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 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 a4c528fff..abd9f71b7 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,14 +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."); } }