Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for nothingElse (0.08 sec)

  1. cmd/test-utils_test.go

    	}
    
    	// test for unknown auth case.
    	anonReq.Body = readerTwo
    	// Setting the `Authorization` header to a random value so that the signature falls into unknown auth case.
    	anonReq.Header.Set("Authorization", "nothingElse")
    	// initialize new response recorder.
    	rec = httptest.NewRecorder()
    	// call the handler using the HTTP Request.
    	apiRouter.ServeHTTP(rec, anonReq)
    	// verify the response body for `ErrAccessDenied` message =.
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 77K bytes
    - Viewed (0)
Back to top