diff options
Diffstat (limited to 'tests/PHPUnit/Integration/Settings/Plugin/SystemSettingTest.php')
-rw-r--r-- | tests/PHPUnit/Integration/Settings/Plugin/SystemSettingTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/PHPUnit/Integration/Settings/Plugin/SystemSettingTest.php b/tests/PHPUnit/Integration/Settings/Plugin/SystemSettingTest.php index 9b9e93db5f..68c4f5d92c 100644 --- a/tests/PHPUnit/Integration/Settings/Plugin/SystemSettingTest.php +++ b/tests/PHPUnit/Integration/Settings/Plugin/SystemSettingTest.php @@ -32,7 +32,7 @@ class SystemSettingTest extends IntegrationTestCase { $this->assertNotDbConnectionCreated(); - new SystemSetting('name', $default = 5, FieldConfig::TYPE_INT, 'MyPlugin'); + $this->buildSetting('name', FieldConfig::TYPE_INT, 'MyPlugin'); $this->assertNotDbConnectionCreated(); } |