From f9a80db4bbb5323d55a7a4fd996ddff2038d2509 Mon Sep 17 00:00:00 2001 From: sharath reddy Date: Mon, 4 Apr 2022 19:50:21 +0530 Subject: simplified an assertion. Issue-ID: CLI-439 report: tested weather-report, execution-list Signed-off-by: sharath reddy Change-Id: I08cb34a86b00fe7832511cb6ec30b718f7c26aca Signed-off-by: sharath reddy --- .../org/onap/cli/fw/input/cache/OnapCommandParameterCacheTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/framework/src/test/java/org/onap/cli/fw/input/cache/OnapCommandParameterCacheTest.java b/framework/src/test/java/org/onap/cli/fw/input/cache/OnapCommandParameterCacheTest.java index e4dafba8..462d2793 100644 --- a/framework/src/test/java/org/onap/cli/fw/input/cache/OnapCommandParameterCacheTest.java +++ b/framework/src/test/java/org/onap/cli/fw/input/cache/OnapCommandParameterCacheTest.java @@ -22,7 +22,7 @@ import java.io.IOException; import org.apache.commons.io.FileUtils; import org.junit.Test; -import static org.junit.Assert.assertFalse; +import static org.junit.Assert.assertNotEquals; public class OnapCommandParameterCacheTest { @Test @@ -31,7 +31,7 @@ public class OnapCommandParameterCacheTest { FileUtils.touch(new File("data" + File.separator + "test-profile.json")); File test_profile = new File("data" + File.separator + "test-profile.json"); FileUtils.touch(test_profile); - assertFalse(0 == test_profile.lastModified()); + assertNotEquals(0, test_profile.lastModified()); //assertTrue(OnapCommandProfileStore.getInstance().getProfiles().contains("test")); // FileUtils.cleanDirectory(new File("data")); } -- cgit 1.2.3-korg