From 1bdf26e781b6dcce3d8aac36c975c6b489a189be Mon Sep 17 00:00:00 2001 From: James Houston Date: Wed, 9 Oct 2024 22:35:34 -0400 Subject: [PATCH] add missing field to test --- services_test.go | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/services_test.go b/services_test.go index 224406e47..53596eaca 100644 --- a/services_test.go +++ b/services_test.go @@ -353,10 +353,11 @@ func TestSetHarborService(t *testing.T) { }) opt := &SetHarborServiceOptions{ - URL: Ptr("url"), - ProjectName: Ptr("project"), - Username: Ptr("user"), - Password: Ptr("pass"), + URL: Ptr("url"), + ProjectName: Ptr("project"), + Username: Ptr("user"), + Password: Ptr("pass"), + UseInheritedSettings: Ptr(false), } _, err := client.Services.SetHarborService(1, opt)