From c7fba41692e7f45fad5a49d972ef7e4ef28b14fc Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Wed, 18 Mar 2020 18:36:25 +0000 Subject: [PATCH] --- PickList/PickListAllTests.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/PickList/PickListAllTests.cs b/PickList/PickListAllTests.cs index 3d58ef8..df031cb 100644 --- a/PickList/PickListAllTests.cs +++ b/PickList/PickListAllTests.cs @@ -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);