mirror of
https://github.com/coder/coder.git
synced 2025-07-18 14:17:22 +00:00
@ -20,6 +20,7 @@ func TestEntitlements(t *testing.T) {
|
||||
rw := httptest.NewRecorder()
|
||||
entitlements(rw, r)
|
||||
resp := rw.Result()
|
||||
defer resp.Body.Close()
|
||||
assert.Equal(t, http.StatusOK, resp.StatusCode)
|
||||
dec := json.NewDecoder(resp.Body)
|
||||
var result codersdk.Entitlements
|
||||
|
Reference in New Issue
Block a user