This commit is contained in:
@@ -41,7 +41,7 @@ namespace raven_integration
|
||||
public async void JWTExpiredTokenShouldFail()
|
||||
{
|
||||
|
||||
ApiResponse a = await Util.GetAsync("BuildMode");
|
||||
ApiResponse a = await Util.GetAsync("build-mode");
|
||||
var BuildMode = a.ObjectResponse["data"]["buildMode"].Value<string>();
|
||||
if (BuildMode == "DEBUG")
|
||||
{
|
||||
@@ -56,7 +56,7 @@ namespace raven_integration
|
||||
[Fact]
|
||||
public async void JWTWrongIssuerShouldFail()
|
||||
{
|
||||
ApiResponse a = await Util.GetAsync("BuildMode");
|
||||
ApiResponse a = await Util.GetAsync("build-mode");
|
||||
var BuildMode = a.ObjectResponse["data"]["buildMode"].Value<string>();
|
||||
if (BuildMode == "DEBUG")
|
||||
{
|
||||
@@ -71,7 +71,7 @@ namespace raven_integration
|
||||
[Fact]
|
||||
public async void JWTNoAlgorithmShouldFail()
|
||||
{
|
||||
ApiResponse a = await Util.GetAsync("BuildMode");
|
||||
ApiResponse a = await Util.GetAsync("build-mode");
|
||||
var BuildMode = a.ObjectResponse["data"]["buildMode"].Value<string>();
|
||||
if (BuildMode == "DEBUG")
|
||||
{
|
||||
@@ -86,7 +86,7 @@ namespace raven_integration
|
||||
[Fact]
|
||||
public async void JWTBadSecretShouldFail()
|
||||
{
|
||||
ApiResponse a = await Util.GetAsync("BuildMode");
|
||||
ApiResponse a = await Util.GetAsync("build-mode");
|
||||
var BuildMode = a.ObjectResponse["data"]["buildMode"].Value<string>();
|
||||
if (BuildMode == "DEBUG")
|
||||
{
|
||||
@@ -102,7 +102,7 @@ namespace raven_integration
|
||||
[Fact]
|
||||
public async void JWTTruncatedSignatureShouldFail()
|
||||
{
|
||||
ApiResponse a = await Util.GetAsync("BuildMode");
|
||||
ApiResponse a = await Util.GetAsync("build-mode");
|
||||
var BuildMode = a.ObjectResponse["data"]["buildMode"].Value<string>();
|
||||
if (BuildMode == "DEBUG")
|
||||
{
|
||||
@@ -118,7 +118,7 @@ namespace raven_integration
|
||||
[Fact]
|
||||
public async void JWTTransposedSignatureShouldFail()
|
||||
{
|
||||
ApiResponse a = await Util.GetAsync("BuildMode");
|
||||
ApiResponse a = await Util.GetAsync("build-mode");
|
||||
var BuildMode = a.ObjectResponse["data"]["buildMode"].Value<string>();
|
||||
if (BuildMode == "DEBUG")
|
||||
{
|
||||
|
||||
@@ -18,7 +18,7 @@ namespace raven_integration
|
||||
{
|
||||
//First determine if there is a requested key route because it's debug build dependent
|
||||
//And doesn't exists if server was not debug built
|
||||
ApiResponse a = await Util.GetAsync("BuildMode");
|
||||
ApiResponse a = await Util.GetAsync("build-mode");
|
||||
Util.ValidateDataReturnResponseOk(a);
|
||||
var BuildMode = a.ObjectResponse["data"]["buildMode"].Value<string>();
|
||||
BuildMode.Should().BeOneOf((new string[] { "DEBUG", "RELEASE" }));
|
||||
|
||||
@@ -411,7 +411,7 @@ namespace raven_integration
|
||||
[Fact]
|
||||
public async void ConfirmDeleteTransactionWorksAtServer()
|
||||
{
|
||||
ApiResponse a = await Util.GetAsync("BuildMode");
|
||||
ApiResponse a = await Util.GetAsync("build-mode");
|
||||
Util.ValidateDataReturnResponseOk(a);
|
||||
var BuildMode = (string)a.ObjectResponse["data"]["buildMode"];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user