mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-07-10 14:04:37 +02:00
parent
fac1f5cd88
commit
ef378663aa
1 changed files with 3 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue