mirror of
https://github.com/discourse/discourse.git
synced 2025-06-07 20:36:01 +08:00
FIX: prevents other tests from leaking modified theme color (#7051)
This commit is contained in:
@ -1097,6 +1097,7 @@ describe Report do
|
|||||||
describe "consolidated_page_views" do
|
describe "consolidated_page_views" do
|
||||||
before do
|
before do
|
||||||
freeze_time(Time.now.at_midnight)
|
freeze_time(Time.now.at_midnight)
|
||||||
|
Theme.clear_default!
|
||||||
ApplicationRequest.clear_cache!
|
ApplicationRequest.clear_cache!
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user