This commit is contained in:
@@ -47,6 +47,7 @@ namespace raven_integration
|
|||||||
ApiResponse r1 = await Util.PostAsync("widget", await Util.GetTokenAsync("manager", "l3tm3in"), w1.ToString());
|
ApiResponse r1 = await Util.PostAsync("widget", await Util.GetTokenAsync("manager", "l3tm3in"), w1.ToString());
|
||||||
Util.ValidateDataReturnResponseOk(r1);
|
Util.ValidateDataReturnResponseOk(r1);
|
||||||
long w1Id = r1.ObjectResponse["data"]["id"].Value<long>();
|
long w1Id = r1.ObjectResponse["data"]["id"].Value<long>();
|
||||||
|
((long)r1.ObjectResponse["data"]["serial"]).Should().NotBe(0);
|
||||||
|
|
||||||
dynamic w2 = new JObject();
|
dynamic w2 = new JObject();
|
||||||
w2.name = Util.Uniquify("Second Test WIDGET");
|
w2.name = Util.Uniquify("Second Test WIDGET");
|
||||||
|
|||||||
Reference in New Issue
Block a user