This commit is contained in:
@@ -34,10 +34,20 @@ namespace raven_integration
|
||||
dynamic dt = new JObject();
|
||||
dt.fld = "WidgetCustom1";
|
||||
dt.hide = false;
|
||||
dt.required = false;
|
||||
dt.required = true;
|
||||
dt.type = "date";
|
||||
dtemplate.Add(dt);
|
||||
|
||||
dt = new JObject();
|
||||
dt.fld = "WidgetSerial";
|
||||
dt.required = true;
|
||||
dtemplate.Add(dt);
|
||||
|
||||
dt = new JObject();
|
||||
dt.fld = "WidgetNotes";
|
||||
dt.required = true;
|
||||
dtemplate.Add(dt);
|
||||
|
||||
dt = new JObject();
|
||||
dt.fld = "WidgetCustom2";
|
||||
dt.hide = true;
|
||||
@@ -71,7 +81,7 @@ namespace raven_integration
|
||||
uint token = a.ObjectResponse["data"]["concurrencyToken"].Value<uint>();
|
||||
//This should return a 304 not modified
|
||||
a = await Util.GetAsync($"FormCustom/widget?concurrencyToken={token}", await Util.GetTokenAsync("BizAdminFull"));
|
||||
Util.ValidateHTTPStatusCode(a,304);
|
||||
Util.ValidateHTTPStatusCode(a, 304);
|
||||
|
||||
//and this should return the whole object
|
||||
token--;//make the token not match
|
||||
@@ -80,7 +90,7 @@ namespace raven_integration
|
||||
Util.ValidateDataReturnResponseOk(a);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user