Skip to content

Commit 6da8898

Browse files
authored
Merge pull request #6586 from kenjis/fix-dynamic-properties
test: remove Registrar tests for dynamic property
2 parents b9ab936 + 6fa6534 commit 6da8898

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

tests/_support/Config/TestRegistrar.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,6 @@ public static function RegistrarConfig()
2525
'first',
2626
'second',
2727
],
28-
'format' => 'nice',
29-
'fruit' => [
30-
'apple',
31-
'banana',
32-
],
3328
];
3429
}
3530
}

tests/system/Config/BaseConfigTest.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -252,10 +252,6 @@ public function testRegistrars()
252252
$this->assertSame('bar', $config->foo);
253253
// add to an existing array property
254254
$this->assertSame(['baz', 'first', 'second'], $config->bar);
255-
// add a new property
256-
$this->assertSame('nice', $config->format);
257-
// add a new array property
258-
$this->assertSame(['apple', 'banana'], $config->fruit);
259255
}
260256

261257
public function testBadRegistrar()

0 commit comments

Comments
 (0)