`Ymdhis` is silly here. Use `YmdHis`. This was causing test results to
vary based on they were run.
* @return string
*/
public static function getCacheInvalidDateTime() {
- return date('Ymdhis', strtotime("-" . self::smartGroupCacheTimeout() . " Minutes"));
+ return date('YmdHis', strtotime("-" . self::smartGroupCacheTimeout() . " Minutes"));
}
/**
* @return string
*/
public static function getRefreshDateTime() {
- return date('Ymdhis', strtotime("+ " . self::smartGroupCacheTimeout() . " Minutes"));
+ return date('YmdHis', strtotime("+ " . self::smartGroupCacheTimeout() . " Minutes"));
}
}