CC-5651: Unit Test the Scheduler

* Added a beastly unit test for Application_Model_Schedule::isFileScheduledInTheFuture
This commit is contained in:
Albert Santoni 2014-02-05 15:37:47 -05:00
parent dfc4c2f308
commit 296adfdb24
5 changed files with 108 additions and 9 deletions

View file

@ -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()
{