39 lines
1.7 KiB
C#
39 lines
1.7 KiB
C#
using FluentAssertions;
|
|
using Newtonsoft.Json.Linq;
|
|
using Xunit;
|
|
|
|
namespace raven_integration
|
|
{
|
|
|
|
/*
|
|
Make fresh data list tests in here, exercise sorting, filtering, crud, rights saved filters, whatever could break
|
|
To save time instead of doing it the old way from before laboriously, just copy payloads from the client doing these things
|
|
with fresh seeded data and ensure anything important doesn't break on refactor
|
|
There could be some date issues from vague memory and note below so keeping that here for reference
|
|
and keeping old tests until I implement this as a walkthrough to confirm if there is something I might have missed to add here
|
|
|
|
Just need to know datalists won't break on refactor, nothing fancy here but it was such a black hole of bugs in v7 I think I went overboard with the original
|
|
integration tests but the v8 system is more bulletproof, likely don't need as many tests as I used during development.
|
|
|
|
------
|
|
old potential BUGBUG: Server takes into account user's time zone offset when filtering lists by date range but here the local test runner just uses the windows system offset instead of the defined offset in the User account at the server
|
|
Fix: Since seeder uses same time zone for all users it generates then can simply fetch one single users' tz offset and use that centerally to calculate a relative now and relative today
|
|
same as the server does but in a central location here for all tests to use.
|
|
|
|
*/
|
|
|
|
public class DataListOperations
|
|
{
|
|
|
|
|
|
[Fact(Skip = "TODO: Implement validation test for DataLists")]
|
|
public void DataLists_ShouldSortFilterAllTypesAndSaveUpdate()
|
|
{
|
|
}
|
|
|
|
|
|
|
|
|
|
}//eoc
|
|
}//eons
|