DEV: Fix some TL group loading for admins in tests (#536)
This commit is contained in:
parent
ee6ad02d0b
commit
b49e327f5c
|
@ -129,8 +129,7 @@ describe CalendarEvent do
|
|||
end
|
||||
|
||||
it "includes group timezones detail" do
|
||||
Fabricate(:admin)
|
||||
Group.refresh_automatic_groups!(:admins)
|
||||
Fabricate(:admin, refresh_auto_groups: true)
|
||||
|
||||
timezones_post =
|
||||
create_post(
|
||||
|
|
|
@ -19,7 +19,7 @@ describe PostSerializer do
|
|||
end
|
||||
|
||||
it "includes group timezones" do
|
||||
Fabricate(:admin)
|
||||
Fabricate(:admin, refresh_auto_groups: true)
|
||||
|
||||
calendar_post =
|
||||
create_post(
|
||||
|
|
Loading…
Reference in New Issue