From 6fa653491758995678c4a2e311f13692f54e3e05 Mon Sep 17 00:00:00 2001 From: kenjis Date: Sun, 25 Sep 2022 12:52:48 +0900 Subject: [PATCH] fix: remove tests for dynamic properties We do not use dynamic properties. --- tests/_support/Config/TestRegistrar.php | 5 ----- tests/system/Config/BaseConfigTest.php | 4 ---- 2 files changed, 9 deletions(-) diff --git a/tests/_support/Config/TestRegistrar.php b/tests/_support/Config/TestRegistrar.php index f809ef54376f..4e60543762c8 100644 --- a/tests/_support/Config/TestRegistrar.php +++ b/tests/_support/Config/TestRegistrar.php @@ -25,11 +25,6 @@ public static function RegistrarConfig() 'first', 'second', ], - 'format' => 'nice', - 'fruit' => [ - 'apple', - 'banana', - ], ]; } } diff --git a/tests/system/Config/BaseConfigTest.php b/tests/system/Config/BaseConfigTest.php index 9434e0a2c557..0ecc1380b2ac 100644 --- a/tests/system/Config/BaseConfigTest.php +++ b/tests/system/Config/BaseConfigTest.php @@ -252,10 +252,6 @@ public function testRegistrars() $this->assertSame('bar', $config->foo); // add to an existing array property $this->assertSame(['baz', 'first', 'second'], $config->bar); - // add a new property - $this->assertSame('nice', $config->format); - // add a new array property - $this->assertSame(['apple', 'banana'], $config->fruit); } public function testBadRegistrar()