aboutsummaryrefslogtreecommitdiffstats
path: root/framework/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'framework/src/test')
-rw-r--r--framework/src/test/java/org/onap/cli/fw/output/OnapCommandResultTest.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/framework/src/test/java/org/onap/cli/fw/output/OnapCommandResultTest.java b/framework/src/test/java/org/onap/cli/fw/output/OnapCommandResultTest.java
index 97fc9e01..d5d04888 100644
--- a/framework/src/test/java/org/onap/cli/fw/output/OnapCommandResultTest.java
+++ b/framework/src/test/java/org/onap/cli/fw/output/OnapCommandResultTest.java
@@ -32,7 +32,6 @@ import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
public class OnapCommandResultTest {
- private static Gson gson = new GsonBuilder().serializeNulls().create();
@Test
@Ignore
@@ -230,10 +229,9 @@ public class OnapCommandResultTest {
res.setRecords(list);
res.setScope(OnapCommandResultAttributeScope.LONG);
res.setType(OnapCommandResultType.JSON);
-
String result = res.print();
String expRes="[{\"param\":{\"id\":\"0001\",\"value\":\"result\"}}]";
- assertEquals(gson.toJson(expRes),result);
+ assertEquals(expRes,result);
}
}