From d9a2d0b5da61837136b3398d701c734e73e02aa2 Mon Sep 17 00:00:00 2001 From: Vladislav Medvedev Date: Sun, 3 Jan 2016 19:16:20 +0700 Subject: [PATCH] =?UTF-8?q?Fixed=20a=20failing=20test=20=E2=80=9CtestUsePr?= =?UTF-8?q?ofiles=5FwithNullValue=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jodd-vtor/src/test/java/jodd/vtor/VtorTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jodd-vtor/src/test/java/jodd/vtor/VtorTest.java b/jodd-vtor/src/test/java/jodd/vtor/VtorTest.java index 24d1a4522..48f673654 100644 --- a/jodd-vtor/src/test/java/jodd/vtor/VtorTest.java +++ b/jodd-vtor/src/test/java/jodd/vtor/VtorTest.java @@ -128,7 +128,7 @@ public void testUseProfile_withTwoDifferentValues() throws Exception { @Test public void testUseProfiles_withNullValue() throws Exception { Vtor vtor = new Vtor(); - vtor.useProfiles((String) null); + vtor.useProfiles(null); assertNull("list of enabled profiles must be null when add only null profile", vtor.enabledProfiles); }