Skip to content

Commit bd92205

Browse files
committed
🚿
1 parent f296825 commit bd92205

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

tests/ContainerTest.php

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,20 @@ public function testSet(){
7777
}
7878

7979
public function testToArray(){
80-
$container = new TestContainer(['test1' => 'no', 'test2' => true, 'testConstruct' => 'success']);
80+
$container = new TestContainer([
81+
'test1' => 'no',
82+
'test2' => true,
83+
'testConstruct' => 'success',
84+
]);
8185

82-
$this::assertSame(['test1' => 'no', 'test2' => true, 'testConstruct' => 'success', 'test4' => null, 'test5' => null, 'test6' => null], $container->toArray());
86+
$this::assertSame([
87+
'test1' => 'no',
88+
'test2' => true,
89+
'testConstruct' => 'success',
90+
'test4' => null,
91+
'test5' => null,
92+
'test6' => null
93+
], $container->toArray());
8394
}
8495

8596
public function testToJSON(){

0 commit comments

Comments
 (0)