This commit is contained in:
@@ -51,6 +51,8 @@ namespace raven_integration
|
|||||||
|
|
||||||
dynamic w = new JObject();
|
dynamic w = new JObject();
|
||||||
w.name = Util.Uniquify(WidgetRunNameStart);
|
w.name = Util.Uniquify(WidgetRunNameStart);
|
||||||
|
w.notes="blah";
|
||||||
|
w.customFields = Util.GenerateCustomFieldsJsonString("Meh1");
|
||||||
//Tags
|
//Tags
|
||||||
dynamic InitialTags = new JArray();
|
dynamic InitialTags = new JArray();
|
||||||
foreach (string s in InitialTagsList)
|
foreach (string s in InitialTagsList)
|
||||||
|
|||||||
@@ -223,6 +223,8 @@ namespace raven_integration
|
|||||||
|
|
||||||
dynamic w2 = new JObject();
|
dynamic w2 = new JObject();
|
||||||
w2.name = Util.Uniquify("PatchConcurrencyViolationShouldFail");
|
w2.name = Util.Uniquify("PatchConcurrencyViolationShouldFail");
|
||||||
|
w2.notes="blah";
|
||||||
|
w2.customFields = Util.GenerateCustomFieldsJsonString("Meh1");
|
||||||
w2.dollarAmount = 2.22m;
|
w2.dollarAmount = 2.22m;
|
||||||
w2.active = true;
|
w2.active = true;
|
||||||
w2.roles = 0;
|
w2.roles = 0;
|
||||||
|
|||||||
@@ -59,6 +59,8 @@ namespace raven_integration
|
|||||||
|
|
||||||
dynamic d = new JObject();
|
dynamic d = new JObject();
|
||||||
d.name = Util.Uniquify(NameStart);
|
d.name = Util.Uniquify(NameStart);
|
||||||
|
d.notes="blah";
|
||||||
|
d.customFields = Util.GenerateCustomFieldsJsonString("Meh1");
|
||||||
d.startDate = DateTime.Now;
|
d.startDate = DateTime.Now;
|
||||||
d.endDate = DateTime.Now.AddHours(1);
|
d.endDate = DateTime.Now.AddHours(1);
|
||||||
|
|
||||||
@@ -68,6 +70,8 @@ namespace raven_integration
|
|||||||
|
|
||||||
d = new JObject();
|
d = new JObject();
|
||||||
d.name = Util.Uniquify(NameStart);
|
d.name = Util.Uniquify(NameStart);
|
||||||
|
d.notes="blah";
|
||||||
|
d.customFields = Util.GenerateCustomFieldsJsonString("Meh1");
|
||||||
d.startDate = DateTime.Now.AddHours(1);
|
d.startDate = DateTime.Now.AddHours(1);
|
||||||
d.endDate = DateTime.Now.AddHours(2);
|
d.endDate = DateTime.Now.AddHours(2);
|
||||||
a = await Util.PostAsync(RouteName, await Util.GetTokenAsync("manager", "l3tm3in"), d.ToString());
|
a = await Util.PostAsync(RouteName, await Util.GetTokenAsync("manager", "l3tm3in"), d.ToString());
|
||||||
@@ -76,6 +80,8 @@ namespace raven_integration
|
|||||||
|
|
||||||
d = new JObject();
|
d = new JObject();
|
||||||
d.name = Util.Uniquify(NameStart);
|
d.name = Util.Uniquify(NameStart);
|
||||||
|
d.notes="blah";
|
||||||
|
d.customFields = Util.GenerateCustomFieldsJsonString("Meh1");
|
||||||
d.startDate = DateTime.Now.AddHours(2);
|
d.startDate = DateTime.Now.AddHours(2);
|
||||||
d.endDate = DateTime.Now.AddHours(3);
|
d.endDate = DateTime.Now.AddHours(3);
|
||||||
a = await Util.PostAsync(RouteName, await Util.GetTokenAsync("manager", "l3tm3in"), d.ToString());
|
a = await Util.PostAsync(RouteName, await Util.GetTokenAsync("manager", "l3tm3in"), d.ToString());
|
||||||
|
|||||||
@@ -70,6 +70,8 @@ namespace raven_integration
|
|||||||
//CREATE
|
//CREATE
|
||||||
dynamic d = new JObject();
|
dynamic d = new JObject();
|
||||||
d.name = Util.Uniquify("ServerShouldAllowOwnerOnlyRightsUserToPatchOwn TEST WIDGET");
|
d.name = Util.Uniquify("ServerShouldAllowOwnerOnlyRightsUserToPatchOwn TEST WIDGET");
|
||||||
|
d.notes="blah";
|
||||||
|
d.customFields = Util.GenerateCustomFieldsJsonString("Meh1");
|
||||||
d.created = DateTime.Now.ToString();
|
d.created = DateTime.Now.ToString();
|
||||||
d.dollarAmount = 1.11m;
|
d.dollarAmount = 1.11m;
|
||||||
d.active = true;
|
d.active = true;
|
||||||
@@ -100,6 +102,8 @@ namespace raven_integration
|
|||||||
//CREATE
|
//CREATE
|
||||||
dynamic d = new JObject();
|
dynamic d = new JObject();
|
||||||
d.name = Util.Uniquify("ServerShouldDisAllowOwnerOnlyRightsUserToPatchNonOwned TEST WIDGET");
|
d.name = Util.Uniquify("ServerShouldDisAllowOwnerOnlyRightsUserToPatchNonOwned TEST WIDGET");
|
||||||
|
d.notes="blah";
|
||||||
|
d.customFields = Util.GenerateCustomFieldsJsonString("Meh1");
|
||||||
d.created = DateTime.Now.ToString();
|
d.created = DateTime.Now.ToString();
|
||||||
d.dollarAmount = 1.11m;
|
d.dollarAmount = 1.11m;
|
||||||
d.active = true;
|
d.active = true;
|
||||||
@@ -137,6 +141,8 @@ namespace raven_integration
|
|||||||
//CREATE
|
//CREATE
|
||||||
dynamic d = new JObject();
|
dynamic d = new JObject();
|
||||||
d.name = Util.Uniquify("ServerShouldAllowOwnerOnlyRightsUserToPutOwn TEST WIDGET");
|
d.name = Util.Uniquify("ServerShouldAllowOwnerOnlyRightsUserToPutOwn TEST WIDGET");
|
||||||
|
d.notes="blah";
|
||||||
|
d.customFields = Util.GenerateCustomFieldsJsonString("Meh1");
|
||||||
d.created = DateTime.Now.ToString();
|
d.created = DateTime.Now.ToString();
|
||||||
d.dollarAmount = 1.11m;
|
d.dollarAmount = 1.11m;
|
||||||
d.active = true;
|
d.active = true;
|
||||||
@@ -170,6 +176,8 @@ namespace raven_integration
|
|||||||
//CREATE
|
//CREATE
|
||||||
dynamic d = new JObject();
|
dynamic d = new JObject();
|
||||||
d.name = Util.Uniquify("ServerShouldDisAllowOwnerOnlyRightsUserToPutNonOwned TEST WIDGET");
|
d.name = Util.Uniquify("ServerShouldDisAllowOwnerOnlyRightsUserToPutNonOwned TEST WIDGET");
|
||||||
|
d.notes="blah";
|
||||||
|
d.customFields = Util.GenerateCustomFieldsJsonString("Meh1");
|
||||||
d.created = DateTime.Now.ToString();
|
d.created = DateTime.Now.ToString();
|
||||||
d.dollarAmount = 1.11m;
|
d.dollarAmount = 1.11m;
|
||||||
d.active = true;
|
d.active = true;
|
||||||
@@ -204,6 +212,8 @@ namespace raven_integration
|
|||||||
//CREATE
|
//CREATE
|
||||||
dynamic d = new JObject();
|
dynamic d = new JObject();
|
||||||
d.name = Util.Uniquify("ServerShouldAllowOwnerOnlyRightsUserToDelete TEST WIDGET");
|
d.name = Util.Uniquify("ServerShouldAllowOwnerOnlyRightsUserToDelete TEST WIDGET");
|
||||||
|
d.notes="blah";
|
||||||
|
d.customFields = Util.GenerateCustomFieldsJsonString("Meh1");
|
||||||
d.created = DateTime.Now.ToString();
|
d.created = DateTime.Now.ToString();
|
||||||
d.dollarAmount = 1.11m;
|
d.dollarAmount = 1.11m;
|
||||||
d.active = true;
|
d.active = true;
|
||||||
@@ -233,6 +243,8 @@ namespace raven_integration
|
|||||||
//CREATE
|
//CREATE
|
||||||
dynamic d = new JObject();
|
dynamic d = new JObject();
|
||||||
d.name = Util.Uniquify("ServerShouldDisAllowOwnerOnlyRightsUserToDeleteNonOwned TEST WIDGET");
|
d.name = Util.Uniquify("ServerShouldDisAllowOwnerOnlyRightsUserToDeleteNonOwned TEST WIDGET");
|
||||||
|
d.notes="blah";
|
||||||
|
d.customFields = Util.GenerateCustomFieldsJsonString("Meh1");
|
||||||
d.created = DateTime.Now.ToString();
|
d.created = DateTime.Now.ToString();
|
||||||
d.dollarAmount = 1.11m;
|
d.dollarAmount = 1.11m;
|
||||||
d.active = true;
|
d.active = true;
|
||||||
|
|||||||
@@ -45,6 +45,8 @@ namespace raven_integration
|
|||||||
//CREATE attempt with broken rules
|
//CREATE attempt with broken rules
|
||||||
dynamic d = new JObject();
|
dynamic d = new JObject();
|
||||||
d.name = Util.Uniquify("BusinessRuleNameMustBeUnique TEST WIDGET");
|
d.name = Util.Uniquify("BusinessRuleNameMustBeUnique TEST WIDGET");
|
||||||
|
d.notes="blah";
|
||||||
|
d.customFields = Util.GenerateCustomFieldsJsonString("Meh1");
|
||||||
d.created = DateTime.Now.ToString();
|
d.created = DateTime.Now.ToString();
|
||||||
d.dollarAmount = 1.11m;
|
d.dollarAmount = 1.11m;
|
||||||
d.active = true;
|
d.active = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user