File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
lib/internal/Magento/Framework/App/Test/Unit Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -350,7 +350,11 @@ public function testShouldReloadPreviouslyUnsetKeysAfterReset() : void
350
350
$ testValue = 42 ;
351
351
$ loadReturn = ['a ' => ['a ' => ['a ' => 1 ]]];
352
352
$ this ->readerMock ->expects ($ this ->any ())->method ('load ' )
353
- ->will ($ this ->returnCallback (function () use (&$ loadReturn ) { return $ loadReturn ;}));
353
+ ->will ($ this ->returnCallback (
354
+ function () use (&$ loadReturn ) {
355
+ return $ loadReturn ;
356
+ }
357
+ ));
354
358
$ this ->deploymentConfig ->get ('a/a/a ' );
355
359
$ abcReturnValue1 = $ this ->deploymentConfig ->get ('a/b/c ' );
356
360
$ this ->assertNull ($ abcReturnValue1 ); // first try, it isn't set yet.
@@ -360,5 +364,4 @@ public function testShouldReloadPreviouslyUnsetKeysAfterReset() : void
360
364
$ abcReturnValue2 = $ this ->deploymentConfig ->get ('a/b/c ' );
361
365
$ this ->assertEquals ($ testValue , $ abcReturnValue2 ); // second try, it should load the newly set value
362
366
}
363
-
364
367
}
You can’t perform that action at this time.
0 commit comments