From 5aa12c6c6520266969ac580fcb0ccc060c67e10f Mon Sep 17 00:00:00 2001 From: Josh Date: Fri, 11 Mar 2022 21:25:57 -0600 Subject: [PATCH] Fix race conditoon (#231) --- ProjectLighthouse.Tests.GameApiTests/AuthenticationTests.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ProjectLighthouse.Tests.GameApiTests/AuthenticationTests.cs b/ProjectLighthouse.Tests.GameApiTests/AuthenticationTests.cs index 6cc89cb8..68a10d13 100644 --- a/ProjectLighthouse.Tests.GameApiTests/AuthenticationTests.cs +++ b/ProjectLighthouse.Tests.GameApiTests/AuthenticationTests.cs @@ -46,7 +46,7 @@ public class AuthenticationTests : LighthouseServerTest { LoginResult loginResult = await this.Authenticate(); - HttpResponseMessage response = await this.AuthenticatedRequest("/LITTLEBIGPLANETPS3_XML/enterLevel/1", loginResult.AuthTicket); + HttpResponseMessage response = await this.AuthenticatedRequest("/LITTLEBIGPLANETPS3_XML/enterLevel/420", loginResult.AuthTicket); string responseContent = await response.Content.ReadAsStringAsync(); Assert.False(response.StatusCode == HttpStatusCode.Forbidden); @@ -59,4 +59,4 @@ public class AuthenticationTests : LighthouseServerTest Assert.False(response.IsSuccessStatusCode); Assert.True(response.StatusCode == HttpStatusCode.Forbidden); } -} \ No newline at end of file +}