Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for nothingElse (0.07 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 Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 77K bytes
    - Viewed (0)
Back to top