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 Newtonsoft.Json.Linq;
namespace raven_integration
{
public class UserInactive
{
/// <summary>
/// Inactive user should not be able to login
/// </summary>
[Fact]
public async void InactiveUserCantLogin()
{
dynamic DCreds = new JObject();
DCreds.password = DCreds.login = "TEST_INACTIVE";
ApiResponse a = await Util.PostAsync("auth", null, DCreds.ToString());
Util.ValidateErrorCodeResponse(a,2003, 401);
}
//==================================================
}//eoc
}//eons
using Xunit;
using Newtonsoft.Json.Linq;
namespace raven_integration
{
public class UserInactive
{
/// <summary>
/// Inactive user should not be able to login
/// </summary>
[Fact]
public async Task InactiveUserCantLogin()
{
dynamic DCreds = new JObject();
DCreds.password = DCreds.login = "TEST_INACTIVE";
ApiResponse a = await Util.PostAsync("auth", null, DCreds.ToString());
Util.ValidateErrorCodeResponse(a,2003, 401);
}
//==================================================
}//eoc
}//eons