simplified an assertion. 81/128281/3
authorsharath reddy <bs.reddy@huawei.com>
Mon, 4 Apr 2022 14:20:21 +0000 (19:50 +0530)
committersharath reddy <bs.reddy@huawei.com>
Tue, 5 Apr 2022 04:14:49 +0000 (09:44 +0530)
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>
framework/src/test/java/org/onap/cli/fw/input/cache/OnapCommandParameterCacheTest.java

index e4dafba..462d279 100644 (file)
@@ -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"));
     }