This commit is contained in:
@@ -287,13 +287,14 @@ namespace raven_integration
|
|||||||
//PUT
|
//PUT
|
||||||
var NewPassword = "NEW_PASSWORD";
|
var NewPassword = "NEW_PASSWORD";
|
||||||
d.password = NewPassword;
|
d.password = NewPassword;
|
||||||
|
d.login=DCreds.login;
|
||||||
a = await Util.PutAsync("User/" + UserId.ToString(), await Util.GetTokenAsync("manager", "l3tm3in"), d.ToString());
|
a = await Util.PutAsync("User/" + UserId.ToString(), await Util.GetTokenAsync("manager", "l3tm3in"), d.ToString());
|
||||||
Util.ValidateDataReturnResponseOk(a);
|
Util.ValidateDataReturnResponseOk(a);
|
||||||
|
|
||||||
//Test can login with new creds
|
//Test can login with new creds
|
||||||
//dynamic DCreds = new JObject();
|
//dynamic DCreds = new JObject();
|
||||||
DCreds.password = NewPassword;
|
DCreds.password = NewPassword;
|
||||||
DCreds.login = d.login;
|
// DCreds.login = d.login;
|
||||||
a = await Util.PostAsync("Auth", null, DCreds.ToString());
|
a = await Util.PostAsync("Auth", null, DCreds.ToString());
|
||||||
Util.ValidateDataReturnResponseOk(a);
|
Util.ValidateDataReturnResponseOk(a);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user