xref: /dokuwiki/lib/plugins/config/_test/Setting/SettingOnoffTest.php (revision 91109d52e565c2a87aeee0650c7248472e54713a)
1<?php
2
3namespace dokuwiki\plugin\config\test\Setting;
4
5/**
6 * @group plugin_config
7 * @group admin_plugins
8 * @group plugins
9 * @group bundled_plugins
10 */
11class SettingOnoffTest extends SettingTest {
12
13    /** @inheritdoc */
14    public function dataOut() {
15        return [
16            [1, "\$conf['test'] = 1;\n"],
17            [0, "\$conf['test'] = 0;\n"],
18            // FIXME we probably want to handle other values better
19        ];
20    }
21
22}
23