Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestValidateV2AuthHeader (0.19 sec)

  1. cmd/signature-v2_test.go

    			if errCode != testCase.expected {
    				t.Errorf("(%d) expected to get success, instead got %s", i, niceError(errCode))
    			}
    		}
    
    	}
    }
    
    // TestValidateV2AuthHeader - Tests validate the logic of V2 Authorization header validator.
    func TestValidateV2AuthHeader(t *testing.T) {
    	ctx, cancel := context.WithCancel(context.Background())
    	defer cancel()
    
    	obj, fsDir, err := prepareFS(ctx)
    	if err != nil {
    		t.Fatal(err)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Oct 14 10:08:40 GMT 2022
    - 8K bytes
    - Viewed (0)
Back to top