integration: changes based on codegen

This commit is contained in:
Bobby Rullo 2016-05-02 17:09:51 -07:00
parent 2406c09598
commit e6e04be297

View file

@ -618,7 +618,7 @@ func TestRefreshTokenEndpoints(t *testing.T) {
t.Errorf("case %d: expected client ids did not match actual: %s", i, diff)
}
for _, clientID := range ids {
if err := f.client.Clients.Revoke(tt.userID, clientID).Do(); err != nil {
if err := f.client.RefreshClient.Revoke(tt.userID, clientID).Do(); err != nil {
t.Errorf("case %d: failed to revoke client: %v", i, err)
}
}