This commit is contained in:
@@ -12,9 +12,6 @@ namespace raven_integration
|
|||||||
public class DataFilterOrderBy
|
public class DataFilterOrderBy
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
//DEPRECATED TEST, THIS TEST ORIGINALLY WAS HERE BECAUSE THE SERVER WOULD AUTOMATICALLY SORT BY ID IF NO SORT ORDER WAS SPECIFIED
|
|
||||||
//HOWEVER THAT WAS REMOVED AS A THING, IT JUST GOES BY NATURAL SORT ORDER (RECORD CREATED MOST RECENTLY AT THE BOTTOM, OLDEST AT TOP / numerical ascending by id number)
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
///
|
///
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
@@ -97,7 +97,7 @@ namespace raven_integration
|
|||||||
[Fact]
|
[Fact]
|
||||||
public async void InvalidObjectFieldsFormKeyShouldFail()
|
public async void InvalidObjectFieldsFormKeyShouldFail()
|
||||||
{
|
{
|
||||||
ApiResponse a = await Util.GetAsync("ObjectFields/ObjectFields/nonexistent", await Util.GetTokenAsync("BizAdminFull"));
|
ApiResponse a = await Util.GetAsync("FormFieldsDefinitions/nonexistent", await Util.GetTokenAsync("BizAdminFull"));
|
||||||
Util.ValidateErrorCodeResponse(a, 2010, 404);
|
Util.ValidateErrorCodeResponse(a, 2010, 404);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -108,7 +108,7 @@ namespace raven_integration
|
|||||||
[Fact]
|
[Fact]
|
||||||
public async void ObjectFieldsWorks()
|
public async void ObjectFieldsWorks()
|
||||||
{
|
{
|
||||||
ApiResponse a = await Util.GetAsync("ObjectFields/ObjectFields/widget", await Util.GetTokenAsync("BizAdminFull"));
|
ApiResponse a = await Util.GetAsync("FormFieldsDefinitions/widget", await Util.GetTokenAsync("BizAdminFull"));
|
||||||
Util.ValidateDataReturnResponseOk(a);
|
Util.ValidateDataReturnResponseOk(a);
|
||||||
((JArray)a.ObjectResponse["data"]).Count.Should().BeGreaterThan(25);
|
((JArray)a.ObjectResponse["data"]).Count.Should().BeGreaterThan(25);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user