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
350350 $ testValue = 42 ;
351351 $ loadReturn = ['a ' => ['a ' => ['a ' => 1 ]]];
352352 $ 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+ ));
354358 $ this ->deploymentConfig ->get ('a/a/a ' );
355359 $ abcReturnValue1 = $ this ->deploymentConfig ->get ('a/b/c ' );
356360 $ this ->assertNull ($ abcReturnValue1 ); // first try, it isn't set yet.
@@ -360,5 +364,4 @@ public function testShouldReloadPreviouslyUnsetKeysAfterReset() : void
360364 $ abcReturnValue2 = $ this ->deploymentConfig ->get ('a/b/c ' );
361365 $ this ->assertEquals ($ testValue , $ abcReturnValue2 ); // second try, it should load the newly set value
362366 }
363-
364367}
You can’t perform that action at this time.
0 commit comments