Skip to content

Commit

Permalink
#10471 fix test generated values
Browse files Browse the repository at this point in the history
  • Loading branch information
paoloo committed Jul 11, 2024
1 parent ade96e1 commit 7ecb033
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/devices/get_system_date_and_time_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand All @@ -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{
Expand All @@ -44,7 +44,7 @@ defmodule Onvif.Devices.GetSystemDateAndTimeTest do
time: %Onvif.Devices.SystemDateAndTime.UTCDateTime.Time{
hour: 16,
minute: 49,
second: 06
second: 6
}
}
}
Expand Down

0 comments on commit 7ecb033

Please sign in to comment.