File tree 1 file changed +0
-4
lines changed 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -264,7 +264,6 @@ public function testPrivatePropertySetterWithoutDoc()
264
264
{
265
265
$ jm = new JsonMapper ();
266
266
$ jm ->bExceptionOnUndefinedProperty = true ;
267
- $ jm ->setLogger (new JsonMapperTest_Logger ());
268
267
269
268
$ result = $ jm ->map (json_decode ('{"privatePropertySetterWithoutDoc" : 1} ' ), new JsonMapperTest_PrivateWithSetter ());
270
269
$ this ->assertSame (1 , $ result ->getPrivatePropertySetterWithoutDoc ());
@@ -274,7 +273,6 @@ public function testPrivatePropertyNullableNotNullSetterWithoutDoc()
274
273
{
275
274
$ jm = new JsonMapper ();
276
275
$ jm ->bExceptionOnUndefinedProperty = true ;
277
- $ jm ->setLogger (new JsonMapperTest_Logger ());
278
276
279
277
$ result = $ jm ->map (json_decode ('{"privatePropertyNullableSetterWithoutDoc" : 1} ' ), new JsonMapperTest_PrivateWithSetter ());
280
278
$ this ->assertSame (1 , $ result ->getPrivatePropertyNullableSetterWithoutDoc ());
@@ -284,7 +282,6 @@ public function testPrivatePropertyNullableNullSetterWithoutDoc()
284
282
{
285
283
$ jm = new JsonMapper ();
286
284
$ jm ->bExceptionOnUndefinedProperty = true ;
287
- $ jm ->setLogger (new JsonMapperTest_Logger ());
288
285
289
286
$ result = $ jm ->map (json_decode ('{"privatePropertyNullableSetterWithoutDoc" : null} ' ), new JsonMapperTest_PrivateWithSetter ());
290
287
$ this ->assertNull ($ result ->getPrivatePropertyNullableSetterWithoutDoc ());
@@ -294,7 +291,6 @@ public function testPrivateArrayOfSimple()
294
291
{
295
292
$ jm = new JsonMapper ();
296
293
$ jm ->bExceptionOnUndefinedProperty = true ;
297
- $ jm ->setLogger (new JsonMapperTest_Logger ());
298
294
299
295
$ result = $ jm ->map (
300
296
json_decode (
You can’t perform that action at this time.
0 commit comments