This commit is contained in:
@@ -35,7 +35,7 @@ namespace raven_integration
|
||||
D.name = Util.Uniquify("Search NAME DOGS simple Test User");
|
||||
D.customFields = Util.WidgetRequiredCustomFieldsJsonString();
|
||||
D.notes = "This user has the match in it's name";
|
||||
|
||||
|
||||
D.active = true;
|
||||
D.login = Util.Uniquify("LOGIN");
|
||||
D.password = Util.Uniquify("PASSWORD");
|
||||
@@ -52,7 +52,7 @@ namespace raven_integration
|
||||
D.name = Util.Uniquify("Search NOTES Test User");
|
||||
D.customFields = Util.WidgetRequiredCustomFieldsJsonString();
|
||||
D.notes = "This user has the match simple dogs in its notes";
|
||||
|
||||
|
||||
D.active = true;
|
||||
D.login = Util.Uniquify("LOGIN");
|
||||
D.password = Util.Uniquify("PASSWORD");
|
||||
@@ -179,7 +179,7 @@ namespace raven_integration
|
||||
D.active = true;
|
||||
D.roles = 0;
|
||||
D.notes = "This record will match in notes: The quick brown and hapless goose";
|
||||
|
||||
|
||||
|
||||
ApiResponse a = await Util.PostAsync("Widget", await Util.GetTokenAsync("manager", "l3tm3in"), D.ToString());
|
||||
Util.ValidateDataReturnResponseOk(a);
|
||||
@@ -189,13 +189,14 @@ namespace raven_integration
|
||||
D = new JObject();
|
||||
D.name = Util.Uniquify("Wildcard startswith search NAME happy goose Test User");
|
||||
D.notes = "This user has the match in it's name";
|
||||
|
||||
|
||||
D.active = true;
|
||||
D.login = Util.Uniquify("LOGIN");
|
||||
D.password = Util.Uniquify("PASSWORD");
|
||||
D.roles = 0;//norole
|
||||
D.localeId = 1;//random locale
|
||||
D.userType = 3;//non scheduleable
|
||||
D.customFields = Util.UserRequiredCustomFieldsJsonString();
|
||||
|
||||
a = await Util.PostAsync("User", await Util.GetTokenAsync("manager", "l3tm3in"), D.ToString());
|
||||
Util.ValidateDataReturnResponseOk(a);
|
||||
@@ -252,13 +253,14 @@ namespace raven_integration
|
||||
D = new JObject();
|
||||
D.name = Util.Uniquify("Wildcard endswith search NAME goose exact Test User");
|
||||
D.notes = "This user has the match in it's name";
|
||||
|
||||
|
||||
D.active = true;
|
||||
D.login = Util.Uniquify("LOGIN");
|
||||
D.password = Util.Uniquify("PASSWORD");
|
||||
D.roles = 0;//norole
|
||||
D.localeId = 1;//random locale
|
||||
D.userType = 3;//non scheduleable
|
||||
D.customFields = Util.UserRequiredCustomFieldsJsonString();
|
||||
|
||||
a = await Util.PostAsync("User", await Util.GetTokenAsync("manager", "l3tm3in"), D.ToString());
|
||||
Util.ValidateDataReturnResponseOk(a);
|
||||
@@ -317,13 +319,14 @@ namespace raven_integration
|
||||
D = new JObject();
|
||||
D.name = Util.Uniquify("Wildcard contains search NAME goose elcastro Test User");
|
||||
D.notes = "This user has the match in it's name";
|
||||
|
||||
|
||||
D.active = true;
|
||||
D.login = Util.Uniquify("LOGIN");
|
||||
D.password = Util.Uniquify("PASSWORD");
|
||||
D.roles = 0;//norole
|
||||
D.localeId = 1;//random locale
|
||||
D.userType = 3;//non scheduleable
|
||||
D.customFields = Util.UserRequiredCustomFieldsJsonString();
|
||||
|
||||
a = await Util.PostAsync("User", await Util.GetTokenAsync("manager", "l3tm3in"), D.ToString());
|
||||
Util.ValidateDataReturnResponseOk(a);
|
||||
@@ -415,13 +418,14 @@ namespace raven_integration
|
||||
D = new JObject();
|
||||
D.name = Util.Uniquify("Wildcard contains search NAME elementary aardvark Test User");
|
||||
D.notes = "This user has the match in it's name but no tag match";
|
||||
|
||||
|
||||
D.active = true;
|
||||
D.login = Util.Uniquify("LOGIN");
|
||||
D.password = Util.Uniquify("PASSWORD");
|
||||
D.roles = 0;//norole
|
||||
D.localeId = 1;//random locale
|
||||
D.userType = 3;//non scheduleable
|
||||
D.customFields = Util.UserRequiredCustomFieldsJsonString();
|
||||
|
||||
a = await Util.PostAsync("User", await Util.GetTokenAsync("manager", "l3tm3in"), D.ToString());
|
||||
Util.ValidateDataReturnResponseOk(a);
|
||||
|
||||
Reference in New Issue
Block a user