fix timestamp

This commit is contained in:
Uwe Tews
2015-08-06 21:11:41 +02:00
parent 1a5654040f
commit 75adb86450

View File

@@ -13,6 +13,7 @@
*/
class RegisteredResourceTest extends PHPUnit_Smarty
{
public function setUp()
{
$this->setUpSmarty(__DIR__);
@@ -122,7 +123,7 @@ function getSource($name, &$source, $smarty)
function getTimestamp($name, &$timestamp, $smarty)
{
// always pretend the template is brand new
$timestamp = time();
$timestamp = (int) floor(time() / 100) * 100;
return true;
}