aboutsummaryrefslogtreecommitdiffstats
path: root/framework/src
diff options
context:
space:
mode:
authorsharath reddy <bs.reddy@huawei.com>2022-04-04 19:50:21 +0530
committersharath reddy <bs.reddy@huawei.com>2022-04-05 09:44:49 +0530
commitf9a80db4bbb5323d55a7a4fd996ddff2038d2509 (patch)
treea8917d1bfa6eddf508ab69b5d7841701a59438c5 /framework/src
parent19a75142348a233c027d7a2e7e87721ed3500cc3 (diff)
simplified an assertion.
Issue-ID: CLI-439 report: tested weather-report, execution-list Signed-off-by: sharath reddy <bs.reddy@huawei.com> Change-Id: I08cb34a86b00fe7832511cb6ec30b718f7c26aca Signed-off-by: sharath reddy <bs.reddy@huawei.com>
Diffstat (limited to 'framework/src')
-rw-r--r--framework/src/test/java/org/onap/cli/fw/input/cache/OnapCommandParameterCacheTest.java4
1 files 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"));
}