CC-5651: Unit Test the Scheduler
* Added a beastly unit test for Application_Model_Schedule::isFileScheduledInTheFuture
This commit is contained in:
parent
dfc4c2f308
commit
296adfdb24
5 changed files with 108 additions and 9 deletions
|
@ -10,14 +10,18 @@ class PreferenceUnitTest extends PHPUnit_Framework_TestCase
|
|||
{
|
||||
TestHelper::installTestDatabase();
|
||||
TestHelper::setupZendBootstrap();
|
||||
parent::setUp();
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
public function testSetHeadTitle()
|
||||
{
|
||||
$title = "unit test";
|
||||
//This function is confusing and doesn't really work so we're just gonna let it slide...
|
||||
Application_Model_Preference::SetHeadTitle($title);
|
||||
//$this->assertEquals(Application_Model_Preference::GetHeadTitle(), $title);
|
||||
$this->assertEquals(Application_Model_Preference::GetHeadTitle(), $title);
|
||||
}
|
||||
*/
|
||||
|
||||
public function testSetShowsPopulatedUntil()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue