paum -> ampw (#303)

This commit is contained in:
Jeff Mitchell authored and GitHub committed 2020-08-25 00:21:08 -04:00
1 parent 74544f6324
commit 8f579c75c3
25 files changed
+57 -57

No files matched your search

+1 -1
View File
@@ -21,7 +21,7 @@ func TestAuthenticationHandler(t *testing.T) {
})
defer c.Shutdown()
resp, err := http.Post(fmt.Sprintf("%s/v1/scopes/%s/auth-methods/paum_1234567890:authenticate", c.ApiAddrs()[0], scope.Global.String()), "application/json",
resp, err := http.Post(fmt.Sprintf("%s/v1/scopes/%s/auth-methods/ampw_1234567890:authenticate", c.ApiAddrs()[0], scope.Global.String()), "application/json",
strings.NewReader(`{"token_type": null, "credentials": {"login_name":"admin", "password": "password123"}}`))
require.NoError(t, err)
assert.Equal(t, http.StatusOK, resp.StatusCode, "Got response: %v", resp)