File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
src/test/java/br/com/helpdev/gzipjson Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -195,7 +195,6 @@ void shouldUseInternalObjectMapperToMapObjectsWithGzipSerializable() throws Json
195195 final var pojoSample = new PojoSampleWithGzipSerializable ();
196196 pojoSample .name = "sample" ;
197197 final var expectedJson = "{\" name\" :\" sample\" }" ;
198- final var expectedJsonCompressed = "\" H4sIAAAAAAAA/6tWykvMTVWyUipOzC3ISVWqBQBBTpU2EQAAAA==\" " ;
199198 final var objectMapper = new ObjectMapper ();
200199 final var instanceWithoutGzip = GzipCodec .getInstanceWithoutGzip (objectMapper );
201200
@@ -204,7 +203,7 @@ void shouldUseInternalObjectMapperToMapObjectsWithGzipSerializable() throws Json
204203 var obj = instanceWithoutGzip .readValue (json , PojoSampleWithGzipSerializable .class );
205204
206205 assertThat (jsonCompressed )
207- .isEqualTo ( expectedJsonCompressed );
206+ .isNotEqualTo ( expectedJson );
208207 assertThat (json )
209208 .isEqualTo (expectedJson );
210209 assertThat (obj )
You can’t perform that action at this time.
0 commit comments