mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-08-15 23:09:14 +00:00
Fix race conditoon (#231)
This commit is contained in:
parent
c5bd8fa901
commit
5aa12c6c65
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue