fix tests
This commit is contained in:
@@ -23,6 +23,8 @@ class PopularSearchService
|
||||
end
|
||||
|
||||
def fetch_data
|
||||
return [] unless self.class.enabled?
|
||||
|
||||
dates = date.strftime("%Y-%m-%d")
|
||||
|
||||
Cache.get("ps-day-#{dates}", 1.minute) do
|
||||
|
||||
Reference in New Issue
Block a user