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