summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/client-side/com/vaadin/terminal/gwt/server/JSONSerializerTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/client-side/com/vaadin/terminal/gwt/server/JSONSerializerTest.java b/tests/client-side/com/vaadin/terminal/gwt/server/JSONSerializerTest.java
index 7775b667a1..3738da3c5c 100644
--- a/tests/client-side/com/vaadin/terminal/gwt/server/JSONSerializerTest.java
+++ b/tests/client-side/com/vaadin/terminal/gwt/server/JSONSerializerTest.java
@@ -52,7 +52,7 @@ public class JSONSerializerTest extends TestCase {
stringToStateMap.put("String - state 2", s2);
Object encodedMap = JsonCodec.encode(stringToStateMap, null, mapType,
- null);
+ null).getEncodedValue();
ensureDecodedCorrectly(stringToStateMap, encodedMap, mapType);
}
@@ -69,7 +69,7 @@ public class JSONSerializerTest extends TestCase {
stateToStringMap.put(s2, "String - state 2");
Object encodedMap = JsonCodec.encode(stateToStringMap, null, mapType,
- null);
+ null).getEncodedValue();
ensureDecodedCorrectly(stateToStringMap, encodedMap, mapType);
}