Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In 55a4f13 a bug was introduced that * forced resaving the config even if it hadn't changed * prevented setting the value to an empty string once set
- Loading branch information
1 parent
5f43ccc
commit f37fd93
Showing
2 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
23 changes: 23 additions & 0 deletions
23
lib/plugins/config/_test/Setting/SettingNumericoptTest.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?php | ||
|
||
namespace dokuwiki\plugin\config\test\Setting; | ||
|
||
/** | ||
* @group plugin_config | ||
* @group admin_plugins | ||
* @group plugins | ||
* @group bundled_plugins | ||
*/ | ||
class SettingNumericoptTest extends SettingNumericTest { | ||
|
||
/** @inheritdoc */ | ||
public function dataOut() { | ||
return array_merge( | ||
parent::dataOut(), | ||
[ | ||
['', "\$conf['test'] = '';\n"], | ||
] | ||
); | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This comment was marked as resolved.
Sorry, something went wrong.