This commit is contained in:
@@ -23,7 +23,7 @@ namespace raven_integration
|
||||
D.customFields = Util.WidgetRequiredCustomFieldsJsonString();
|
||||
D.dollarAmount = 1.11m;
|
||||
D.active = true;
|
||||
D.roles = 0;
|
||||
D.usertype = 1;
|
||||
D.notes = "This record will match in notes: The quick brown and simple fox jumped over the six lazy dogs!";
|
||||
|
||||
ApiResponse a = await Util.PostAsync("Widget", await Util.GetTokenAsync("manager", "l3tm3in"), D.ToString());
|
||||
@@ -39,7 +39,7 @@ namespace raven_integration
|
||||
D.active = true;
|
||||
D.login = Util.Uniquify("LOGIN");
|
||||
D.password = Util.Uniquify("PASSWORD");
|
||||
D.roles = 0;//norole
|
||||
D.usertype = 1;
|
||||
D.localeId = 1;//random locale
|
||||
D.userType = 3;//non scheduleable
|
||||
|
||||
@@ -56,7 +56,7 @@ namespace raven_integration
|
||||
D.active = true;
|
||||
D.login = Util.Uniquify("LOGIN");
|
||||
D.password = Util.Uniquify("PASSWORD");
|
||||
D.roles = 0;//norole
|
||||
D.usertype = 1;
|
||||
D.localeId = 1;//random locale
|
||||
D.userType = 3;//non scheduleable
|
||||
|
||||
@@ -70,7 +70,7 @@ namespace raven_integration
|
||||
D.customFields = Util.WidgetRequiredCustomFieldsJsonString();
|
||||
D.dollarAmount = 1.11m;
|
||||
D.active = true;
|
||||
D.roles = 0;
|
||||
D.usertype = 1;
|
||||
D.notes = "This Widget matches in name";
|
||||
|
||||
a = await Util.PostAsync("Widget", await Util.GetTokenAsync("manager", "l3tm3in"), D.ToString());
|
||||
@@ -83,7 +83,7 @@ namespace raven_integration
|
||||
D.customFields = Util.WidgetRequiredCustomFieldsJsonString();
|
||||
D.dollarAmount = 1.11m;
|
||||
D.active = true;
|
||||
D.roles = 0;
|
||||
D.usertype = 1;
|
||||
D.notes = "This Widget should not be returned in the search as it only contains a single keyword in the name not both";
|
||||
|
||||
a = await Util.PostAsync("Widget", await Util.GetTokenAsync("manager", "l3tm3in"), D.ToString());
|
||||
@@ -177,7 +177,7 @@ namespace raven_integration
|
||||
D.customFields = Util.WidgetRequiredCustomFieldsJsonString();
|
||||
D.dollarAmount = 1.11m;
|
||||
D.active = true;
|
||||
D.roles = 0;
|
||||
D.usertype = 1;
|
||||
D.notes = "This record will match in notes: The quick brown and hapless goose";
|
||||
|
||||
|
||||
@@ -193,7 +193,7 @@ namespace raven_integration
|
||||
D.active = true;
|
||||
D.login = Util.Uniquify("LOGIN");
|
||||
D.password = Util.Uniquify("PASSWORD");
|
||||
D.roles = 0;//norole
|
||||
D.usertype = 1;
|
||||
D.localeId = 1;//random locale
|
||||
D.userType = 3;//non scheduleable
|
||||
D.customFields = Util.UserRequiredCustomFieldsJsonString();
|
||||
@@ -242,7 +242,7 @@ namespace raven_integration
|
||||
D.customFields = Util.WidgetRequiredCustomFieldsJsonString();
|
||||
D.dollarAmount = 1.11m;
|
||||
D.active = true;
|
||||
D.roles = 0;
|
||||
D.usertype = 1;
|
||||
D.notes = "This record will match in notes: react to the goose";
|
||||
|
||||
ApiResponse a = await Util.PostAsync("Widget", await Util.GetTokenAsync("manager", "l3tm3in"), D.ToString());
|
||||
@@ -257,7 +257,7 @@ namespace raven_integration
|
||||
D.active = true;
|
||||
D.login = Util.Uniquify("LOGIN");
|
||||
D.password = Util.Uniquify("PASSWORD");
|
||||
D.roles = 0;//norole
|
||||
D.usertype = 1;
|
||||
D.localeId = 1;//random locale
|
||||
D.userType = 3;//non scheduleable
|
||||
D.customFields = Util.UserRequiredCustomFieldsJsonString();
|
||||
@@ -308,7 +308,7 @@ namespace raven_integration
|
||||
D.customFields = Util.WidgetRequiredCustomFieldsJsonString();
|
||||
D.dollarAmount = 1.11m;
|
||||
D.active = true;
|
||||
D.roles = 0;
|
||||
D.usertype = 1;
|
||||
D.notes = "This record will match in notes: broadcasting to the goose";
|
||||
|
||||
ApiResponse a = await Util.PostAsync("Widget", await Util.GetTokenAsync("manager", "l3tm3in"), D.ToString());
|
||||
@@ -323,7 +323,7 @@ namespace raven_integration
|
||||
D.active = true;
|
||||
D.login = Util.Uniquify("LOGIN");
|
||||
D.password = Util.Uniquify("PASSWORD");
|
||||
D.roles = 0;//norole
|
||||
D.usertype = 1;
|
||||
D.localeId = 1;//random locale
|
||||
D.userType = 3;//non scheduleable
|
||||
D.customFields = Util.UserRequiredCustomFieldsJsonString();
|
||||
@@ -387,7 +387,7 @@ namespace raven_integration
|
||||
D.customFields = Util.WidgetRequiredCustomFieldsJsonString();
|
||||
D.dollarAmount = 1.11m;
|
||||
D.active = true;
|
||||
D.roles = 0;
|
||||
D.usertype = 1;
|
||||
D.notes = "This record will match in notes and tag: elementary my dear aardvark";
|
||||
D.tags = TagsArray;
|
||||
|
||||
@@ -404,7 +404,7 @@ namespace raven_integration
|
||||
D.customFields = Util.WidgetRequiredCustomFieldsJsonString();
|
||||
D.dollarAmount = 1.11m;
|
||||
D.active = true;
|
||||
D.roles = 0;
|
||||
D.usertype = 1;
|
||||
D.notes = "This record will match in tag but no search phrase";
|
||||
D.tags = TagsArray;
|
||||
|
||||
@@ -422,7 +422,7 @@ namespace raven_integration
|
||||
D.active = true;
|
||||
D.login = Util.Uniquify("LOGIN");
|
||||
D.password = Util.Uniquify("PASSWORD");
|
||||
D.roles = 0;//norole
|
||||
D.usertype = 1;
|
||||
D.localeId = 1;//random locale
|
||||
D.userType = 3;//non scheduleable
|
||||
D.customFields = Util.UserRequiredCustomFieldsJsonString();
|
||||
@@ -549,7 +549,7 @@ namespace raven_integration
|
||||
D.customFields = Util.WidgetRequiredCustomFieldsJsonString();
|
||||
D.dollarAmount = 1.11m;
|
||||
D.active = true;
|
||||
D.roles = 0;
|
||||
D.usertype = 1;
|
||||
D.notes = "Test for serial number search";
|
||||
|
||||
ApiResponse a = await Util.PostAsync("Widget", await Util.GetTokenAsync("manager", "l3tm3in"), D.ToString());
|
||||
@@ -628,7 +628,7 @@ Likely fix is to force order to most recent or simply to delete after test so th
|
||||
D.customFields = dCustomField.ToString();
|
||||
D.dollarAmount = 1.11m;
|
||||
D.active = true;
|
||||
D.roles = 0;
|
||||
D.usertype = 1;
|
||||
D.notes = "This record will match in custom field";
|
||||
|
||||
ApiResponse a = await Util.PostAsync("Widget", await Util.GetTokenAsync("manager", "l3tm3in"), D.ToString());
|
||||
|
||||
Reference in New Issue
Block a user