This commit is contained in:
2026-02-24 07:05:56 -08:00
parent 76109ad265
commit 13b3aed088
34 changed files with 9807 additions and 9804 deletions

View File

@@ -1,29 +1,29 @@
using Xunit;
using FluentAssertions;
namespace raven_integration
{
public class GlobalAll
{
/// <summary>
/// Test Global routes
/// </summary>
[Fact]
public async void GlobalOps()
{
//excercise the fetch and update routes but no actual changes because making a change of any kind to global will likely break other tests
//and we just need to see the routes are active really
ApiResponse a = await Util.GetAsync("global-biz-setting", await Util.GetTokenAsync("BizAdminFull"));
Util.ValidateDataReturnResponseOk(a);
a.ObjectResponse["data"]["searchCaseSensitiveOnly"].Should().NotBeNull();
var g = a.ObjectResponse["data"];
a = await Util.PutAsync("global-biz-setting", await Util.GetTokenAsync("BizAdminFull"), g.ToString(Newtonsoft.Json.Formatting.None));
Util.ValidateHTTPStatusCode(a, 200);
}
//==================================================
}//eoc
}//eons
using Xunit;
using FluentAssertions;
namespace raven_integration
{
public class GlobalAll
{
/// <summary>
/// Test Global routes
/// </summary>
[Fact]
public async Task GlobalOps()
{
//excercise the fetch and update routes but no actual changes because making a change of any kind to global will likely break other tests
//and we just need to see the routes are active really
ApiResponse a = await Util.GetAsync("global-biz-setting", await Util.GetTokenAsync("BizAdminFull"));
Util.ValidateDataReturnResponseOk(a);
a.ObjectResponse["data"]["searchCaseSensitiveOnly"].Should().NotBeNull();
var g = a.ObjectResponse["data"];
a = await Util.PutAsync("global-biz-setting", await Util.GetTokenAsync("BizAdminFull"), g.ToString(Newtonsoft.Json.Formatting.None));
Util.ValidateHTTPStatusCode(a, 200);
}
//==================================================
}//eoc
}//eons