Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for wantStatusCode (0.14 sec)

  1. pkg/webhooks/validation/server/server_test.go

    	cases := []struct {
    		name            string
    		body            []byte
    		contentType     string
    		wantStatusCode  int
    		wantAllowed     bool
    		allowedResponse bool
    	}{
    		{
    			name:            "valid",
    			body:            validReview,
    			contentType:     "application/json",
    			wantAllowed:     true,
    			wantStatusCode:  http.StatusOK,
    			allowedResponse: true,
    		},
    		{
    			name:            "valid(v1 version)",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 01 01:34:15 UTC 2023
    - 9.6K bytes
    - Viewed (0)
Back to top