Skip to content

Commit d1a0951

Browse files
committed
fix:test update for the empty URL tests for endpoints manager
1 parent 92a274f commit d1a0951

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/backend/endpoints/manager_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,8 +178,8 @@ func TestCreateEndpoint(t *testing.T) {
178178
}
179179

180180
_, err := manager.CreateEndpoint(ctx, data)
181-
if err != crud.ErrInvalidInput {
182-
t.Errorf("Expected ErrInvalidInput, got %v", err)
181+
if err != nil {
182+
t.Errorf("Create Endpoint without URL failed: %v", err)
183183
}
184184
})
185185
}

0 commit comments

Comments
 (0)