From a94f7aeafb687c821e16fcdf641cbb5b1ddf5119 Mon Sep 17 00:00:00 2001 From: hugoShaka Date: Mon, 16 Dec 2024 16:11:59 -0500 Subject: [PATCH] fix tests --- api/types/maintenance_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/types/maintenance_test.go b/api/types/maintenance_test.go index b49679f813325..5f479b53f9e80 100644 --- a/api/types/maintenance_test.go +++ b/api/types/maintenance_test.go @@ -284,13 +284,13 @@ func TestParseWeekdays(t *testing.T) { name: "Nil slice", input: nil, expect: map[time.Weekday]struct{}{}, - expectError: require.NoError, + expectError: require.Error, }, { name: "Empty slice", input: []string{}, expect: map[time.Weekday]struct{}{}, - expectError: require.NoError, + expectError: require.Error, }, { name: "Few valid days",