From 0394685449e84475976d62a6a1432a814b3cf832 Mon Sep 17 00:00:00 2001 From: ingo Date: Sun, 6 Oct 2024 22:19:47 +0100 Subject: [PATCH] fix tests --- conf/settings_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/settings_test.go b/conf/settings_test.go index ec750ea..3063b7e 100644 --- a/conf/settings_test.go +++ b/conf/settings_test.go @@ -12,6 +12,6 @@ func TestAreSettingsMissing(t *testing.T) { } func TestSettingsToString(t *testing.T) { - expected := `{"SecondsBetweenCaptures":0,"OffsetWithinHour":0,"PhotoResolutionWidth":0,"PhotoResolutionHeight":0,"PreviewResolutionWidth":0,"PreviewResolutionHeight":0,"RotateBy":0,"ResolutionSetting":0,"Quality":0,"DebugEnabled":false}` + expected := `{"SecondsBetweenCaptures":0,"OffsetWithinHour":0,"PhotoResolutionWidth":0,"PhotoResolutionHeight":0,"PreviewResolutionWidth":0,"PreviewResolutionHeight":0,"RotateBy":0,"ResolutionSetting":0,"Quality":0,"DebugEnabled":false,"SkipPhotosAtNight":false}` ensure.DeepEqual(t, expected, Settings{}.String()) }