This is an automated email from the ASF dual-hosted git repository.

mibo pushed a commit to branch OLINGO-1114
in repository https://gitbox.apache.org/repos/asf/olingo-odata4.git


The following commit(s) were added to refs/heads/OLINGO-1114 by this push:
     new 1f1bcfb  [OLINGO-1114] Minor test fix
1f1bcfb is described below

commit 1f1bcfb4ffa6acca7b6e55dfc0e2b8740564f89d
Author: Michael Bolz <[email protected]>
AuthorDate: Wed Nov 27 08:41:47 2019 +0100

    [OLINGO-1114] Minor test fix
---
 .../src/test/java/org/apache/olingo/client/core/JSONTest.java         | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/lib/client-core/src/test/java/org/apache/olingo/client/core/JSONTest.java 
b/lib/client-core/src/test/java/org/apache/olingo/client/core/JSONTest.java
index d6af25a..a1e1ed3 100644
--- a/lib/client-core/src/test/java/org/apache/olingo/client/core/JSONTest.java
+++ b/lib/client-core/src/test/java/org/apache/olingo/client/core/JSONTest.java
@@ -47,8 +47,8 @@ import org.apache.olingo.client.api.domain.ClientProperty;
 import org.apache.olingo.client.api.domain.ClientValue;
 import org.apache.olingo.client.core.domain.ClientAnnotationImpl;
 import org.apache.olingo.client.core.serialization.JsonDeserializer;
-import org.apache.olingo.client.core.uri.URIUtils;
 import org.apache.olingo.client.core.serialization.JsonSerializer;
+import org.apache.olingo.client.core.uri.URIUtils;
 import org.apache.olingo.commons.api.Constants;
 import org.apache.olingo.commons.api.data.ComplexValue;
 import org.apache.olingo.commons.api.data.Delta;
@@ -966,7 +966,7 @@ public class JSONTest extends AbstractTest {
     ClientProperty testInt16 = 
client.getObjectFactory().newPrimitiveProperty("testInt16", 
valueBuilder.build());
     properties.add(testInt16);
 
-    InputStream inputStream = 
client.getWriter().writeEntity(entityIncNullValue, ContentType.JSON);
+    InputStream inputStream = 
client.getWriter().writeEntity(entityIncNullValue, 
ContentType.JSON_FULL_METADATA);
     HttpEntity httpEntity = URIUtils.buildInputStreamEntity(client, 
inputStream);
 
     final String actual = EntityUtils.toString(httpEntity);

Reply via email to