@hairmare squashed bugs

This commit is contained in:
Zachary Klosko 2020-12-21 14:42:55 -05:00
parent 1476b69abc
commit bd730c87e0
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -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);
}