This commit is contained in:
2018-09-05 17:56:03 +00:00
parent a977d0d213
commit 620a27d35c
2 changed files with 52 additions and 25 deletions

View File

@@ -31,12 +31,16 @@ namespace raven_integration
Util.ValidateDataReturnResponseOk(r1);
long d1Id = r1.ObjectResponse["result"]["id"].Value<long>();
HERE
dynamic d2 = new JObject();
d2.name = Util.Uniquify("Second Test User");
d2.dollarAmount = 2.22m;
d2.active = true;
d2.roles = 0;
d2.ownerId = 1L;
d2.active=true;
d2.login=Util.Uniquify("LOGIN");
d2.password=Util.Uniquify("PASSWORD");
d2.roles=0;//norole
d2.localeId=1;//random locale
d2.userType=3;//non scheduleable
ApiResponse r2 = await Util.PostAsync("User", await Util.GetTokenAsync("manager", "l3tm3in"), d2.ToString());
Util.ValidateDataReturnResponseOk(r2);