This commit is contained in:
2019-01-16 22:50:47 +00:00
parent fd2b46cc59
commit bebbbb3613
5 changed files with 24 additions and 0 deletions

View File

@@ -51,6 +51,8 @@ namespace raven_integration
dynamic w = new JObject();
w.name = Util.Uniquify(WidgetRunNameStart);
w.notes="blah";
w.customFields = Util.GenerateCustomFieldsJsonString("Meh1");
//Tags
dynamic InitialTags = new JArray();
foreach (string s in InitialTagsList)

View File

@@ -223,6 +223,8 @@ namespace raven_integration
dynamic w2 = new JObject();
w2.name = Util.Uniquify("PatchConcurrencyViolationShouldFail");
w2.notes="blah";
w2.customFields = Util.GenerateCustomFieldsJsonString("Meh1");
w2.dollarAmount = 2.22m;
w2.active = true;
w2.roles = 0;

View File

@@ -59,6 +59,8 @@ namespace raven_integration
dynamic d = new JObject();
d.name = Util.Uniquify(NameStart);
d.notes="blah";
d.customFields = Util.GenerateCustomFieldsJsonString("Meh1");
d.startDate = DateTime.Now;
d.endDate = DateTime.Now.AddHours(1);
@@ -68,6 +70,8 @@ namespace raven_integration
d = new JObject();
d.name = Util.Uniquify(NameStart);
d.notes="blah";
d.customFields = Util.GenerateCustomFieldsJsonString("Meh1");
d.startDate = DateTime.Now.AddHours(1);
d.endDate = DateTime.Now.AddHours(2);
a = await Util.PostAsync(RouteName, await Util.GetTokenAsync("manager", "l3tm3in"), d.ToString());
@@ -76,6 +80,8 @@ namespace raven_integration
d = new JObject();
d.name = Util.Uniquify(NameStart);
d.notes="blah";
d.customFields = Util.GenerateCustomFieldsJsonString("Meh1");
d.startDate = DateTime.Now.AddHours(2);
d.endDate = DateTime.Now.AddHours(3);
a = await Util.PostAsync(RouteName, await Util.GetTokenAsync("manager", "l3tm3in"), d.ToString());

View File

@@ -70,6 +70,8 @@ namespace raven_integration
//CREATE
dynamic d = new JObject();
d.name = Util.Uniquify("ServerShouldAllowOwnerOnlyRightsUserToPatchOwn TEST WIDGET");
d.notes="blah";
d.customFields = Util.GenerateCustomFieldsJsonString("Meh1");
d.created = DateTime.Now.ToString();
d.dollarAmount = 1.11m;
d.active = true;
@@ -100,6 +102,8 @@ namespace raven_integration
//CREATE
dynamic d = new JObject();
d.name = Util.Uniquify("ServerShouldDisAllowOwnerOnlyRightsUserToPatchNonOwned TEST WIDGET");
d.notes="blah";
d.customFields = Util.GenerateCustomFieldsJsonString("Meh1");
d.created = DateTime.Now.ToString();
d.dollarAmount = 1.11m;
d.active = true;
@@ -137,6 +141,8 @@ namespace raven_integration
//CREATE
dynamic d = new JObject();
d.name = Util.Uniquify("ServerShouldAllowOwnerOnlyRightsUserToPutOwn TEST WIDGET");
d.notes="blah";
d.customFields = Util.GenerateCustomFieldsJsonString("Meh1");
d.created = DateTime.Now.ToString();
d.dollarAmount = 1.11m;
d.active = true;
@@ -170,6 +176,8 @@ namespace raven_integration
//CREATE
dynamic d = new JObject();
d.name = Util.Uniquify("ServerShouldDisAllowOwnerOnlyRightsUserToPutNonOwned TEST WIDGET");
d.notes="blah";
d.customFields = Util.GenerateCustomFieldsJsonString("Meh1");
d.created = DateTime.Now.ToString();
d.dollarAmount = 1.11m;
d.active = true;
@@ -204,6 +212,8 @@ namespace raven_integration
//CREATE
dynamic d = new JObject();
d.name = Util.Uniquify("ServerShouldAllowOwnerOnlyRightsUserToDelete TEST WIDGET");
d.notes="blah";
d.customFields = Util.GenerateCustomFieldsJsonString("Meh1");
d.created = DateTime.Now.ToString();
d.dollarAmount = 1.11m;
d.active = true;
@@ -233,6 +243,8 @@ namespace raven_integration
//CREATE
dynamic d = new JObject();
d.name = Util.Uniquify("ServerShouldDisAllowOwnerOnlyRightsUserToDeleteNonOwned TEST WIDGET");
d.notes="blah";
d.customFields = Util.GenerateCustomFieldsJsonString("Meh1");
d.created = DateTime.Now.ToString();
d.dollarAmount = 1.11m;
d.active = true;

View File

@@ -45,6 +45,8 @@ namespace raven_integration
//CREATE attempt with broken rules
dynamic d = new JObject();
d.name = Util.Uniquify("BusinessRuleNameMustBeUnique TEST WIDGET");
d.notes="blah";
d.customFields = Util.GenerateCustomFieldsJsonString("Meh1");
d.created = DateTime.Now.ToString();
d.dollarAmount = 1.11m;
d.active = true;