From 7ecb033d95b9003b265ddb155e0e3e0625a0a149 Mon Sep 17 00:00:00 2001 From: Paolo Oliveira Date: Thu, 11 Jul 2024 14:52:13 +0100 Subject: [PATCH] #10471 fix test generated values --- test/devices/get_system_date_and_time_test.exs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/test/devices/get_system_date_and_time_test.exs b/test/devices/get_system_date_and_time_test.exs index a68fce3..f54cef7 100644 --- a/test/devices/get_system_date_and_time_test.exs +++ b/test/devices/get_system_date_and_time_test.exs @@ -16,9 +16,9 @@ defmodule Onvif.Devices.GetSystemDateAndTimeTest do {:ok, service_capabilities} = Onvif.Devices.GetSystemDateAndTime.request(device) assert service_capabilities == %Onvif.Devices.SystemDateAndTime{ - current_diff: -572, + current_diff: -151215, date_time_type: :manual, - datetime: ~U[2024-07-09 16:49:06Z], + datetime: ~U[2024-07-09 19:49:06Z], daylight_savings: true, local_date_time: %Onvif.Devices.SystemDateAndTime.UTCDateTime{ date: %Onvif.Devices.SystemDateAndTime.UTCDateTime.Date{ @@ -29,11 +29,11 @@ defmodule Onvif.Devices.GetSystemDateAndTimeTest do time: %Onvif.Devices.SystemDateAndTime.UTCDateTime.Time{ hour: 19, minute: 49, - second: 06 + second: 6 } }, time_zone: %Onvif.Devices.SystemDateAndTime.TimeZone{ - tz: "BRT3BRST,M3.2.0/2,M11.1.0/2" + tz: "BRT3" }, utc_date_time: %Onvif.Devices.SystemDateAndTime.UTCDateTime{ date: %Onvif.Devices.SystemDateAndTime.UTCDateTime.Date{ @@ -44,7 +44,7 @@ defmodule Onvif.Devices.GetSystemDateAndTimeTest do time: %Onvif.Devices.SystemDateAndTime.UTCDateTime.Time{ hour: 16, minute: 49, - second: 06 + second: 6 } } }