This commit is contained in:
2020-03-18 18:36:25 +00:00
parent e450e7bc34
commit c7fba41692

View File

@@ -53,7 +53,7 @@ namespace raven_integration
var UniquePhrase = Util.Uniquify("pick").Replace(" ", "");
d = new JObject();
d.name = Util.Uniquify("UserPickListTemplatesOps") + UniquePhrase;
d.active = false;
d.active = true;
d.login = Util.Uniquify("LOGIN");
d.password = Util.Uniquify("PASSWORD");
d.roles = 0;//norole
@@ -106,6 +106,7 @@ namespace raven_integration
//GET PICKLIST FOR unique phrase query sb only user name field due to custom template
a = await Util.GetAsync("PickList/List?ayaType=3&query=" + UniquePhrase, await Util.GetTokenAsync("BizAdminFull"));
//"select auser.id as plId, auser.active as plActive, concat_ws(' ', auser.name) as plname from auser where auser.active = true and ((auser.name like '%pick1584556347748%')) order by auser.name limit 100"
Util.ValidateDataReturnResponseOk(a);
pickList = ((JArray)a.ObjectResponse["data"]);
pickList.Count.Should().Be(1);