mirror of https://github.com/danoloan10/rss-bridge
parent
fac1f5cd88
commit
ef378663aa
|
@ -41,7 +41,8 @@ class FeedItemTest extends TestCase
|
||||||
$this->assertSame(64800, $item->getTimestamp());
|
$this->assertSame(64800, $item->getTimestamp());
|
||||||
|
|
||||||
$item->setTimestamp('1st jan last year');
|
$item->setTimestamp('1st jan last year');
|
||||||
// This will fail at 2024-01-01 hehe
|
|
||||||
$this->assertSame(1640995200, $item->getTimestamp());
|
// This will fail at 2025-01-01 hehe
|
||||||
|
$this->assertSame(1672531200, $item->getTimestamp());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue