This commit is contained in:
@@ -53,7 +53,7 @@ namespace raven_integration
|
|||||||
var UniquePhrase = Util.Uniquify("pick").Replace(" ", "");
|
var UniquePhrase = Util.Uniquify("pick").Replace(" ", "");
|
||||||
d = new JObject();
|
d = new JObject();
|
||||||
d.name = Util.Uniquify("UserPickListTemplatesOps") + UniquePhrase;
|
d.name = Util.Uniquify("UserPickListTemplatesOps") + UniquePhrase;
|
||||||
d.active = false;
|
d.active = true;
|
||||||
d.login = Util.Uniquify("LOGIN");
|
d.login = Util.Uniquify("LOGIN");
|
||||||
d.password = Util.Uniquify("PASSWORD");
|
d.password = Util.Uniquify("PASSWORD");
|
||||||
d.roles = 0;//norole
|
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
|
//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"));
|
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);
|
Util.ValidateDataReturnResponseOk(a);
|
||||||
pickList = ((JArray)a.ObjectResponse["data"]);
|
pickList = ((JArray)a.ObjectResponse["data"]);
|
||||||
pickList.Count.Should().Be(1);
|
pickList.Count.Should().Be(1);
|
||||||
|
|||||||
Reference in New Issue
Block a user