|
|
|
@ -146,6 +146,8 @@ class GeneralTest extends \Tests\Browser\TestCase
|
|
|
|
|
$browser->assertCheckboxState('_pretty_date', $this->settings['pretty_date']);
|
|
|
|
|
$browser->assertCheckboxState('_display_next', $this->settings['display_next']);
|
|
|
|
|
$browser->assertCheckboxState('_standard_windows', $this->settings['standard_windows']);
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
// Assert the options have been saved in database properly
|
|
|
|
|
$prefs = \bootstrap::get_prefs();
|
|
|
|
@ -157,7 +159,5 @@ class GeneralTest extends \Tests\Browser\TestCase
|
|
|
|
|
|
|
|
|
|
$this->assertEquals($this->settings['pretty_date'], $prefs['prettydate']);
|
|
|
|
|
$this->assertEquals($this->settings['refresh_interval'], $prefs['refresh_interval']/60);
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|