/// <summary> /// Sets the RockDateTime timezone to a value that is suitable for testing an operating environment /// in which the organization timezone does not match the local system timezone. /// This configuration simulates a Rock server hosted in a different timezone to the Rock organization. /// </summary> public static void SetRockDateTimeToAlternateTimezone() { var tz = GetTestTimeZoneAlternate(); RockDateTime.Initialize(tz); // Re-initialize the lava engine options. var options = GetCurrentEngineOptions(); _fluidEngine.Initialize(options); }