Skip to content

Commit 3701d9d

Browse files
Manuelvaasrubenhoenle
authored andcommitted
Add new testcase
1 parent 7467bc0 commit 3701d9d

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

internal/pkg/utils/utils_test.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,11 @@ func TestValidateURLDomain(t *testing.T) {
107107
input: "example.stackit.cloud",
108108
isValid: false,
109109
},
110+
{
111+
name: "valid endpoint",
112+
input: "https://service-account.api.stackit.cloud/token",
113+
isValid: true,
114+
},
110115
}
111116

112117
for _, tt := range tests {

0 commit comments

Comments
 (0)