@hairmare squashed bugs
This commit is contained in:
parent
1476b69abc
commit
bd730c87e0
|
@ -772,7 +772,7 @@ class Application_Model_Preference
|
|||
|
||||
public static function GetImportTimestamp()
|
||||
{
|
||||
return self::getValue("import_timestamp");
|
||||
return (int) self::getValue("import_timestamp");
|
||||
}
|
||||
|
||||
public static function GetStreamType()
|
||||
|
|
|
@ -13,7 +13,7 @@ class PreferenceUnitTest extends PHPUnit_Framework_TestCase
|
|||
|
||||
public function testSetShowsPopulatedUntil()
|
||||
{
|
||||
$date = new DateTime();
|
||||
$date = new DateTime("2040-01-01T12:00:00.000000Z");
|
||||
Application_Model_Preference::SetShowsPopulatedUntil($date);
|
||||
$this->assertEquals(Application_Model_Preference::GetShowsPopulatedUntil(), $date);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue