mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-08-16 23:40:57 +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();
|
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();
|
string responseContent = await response.Content.ReadAsStringAsync();
|
||||||
|
|
||||||
Assert.False(response.StatusCode == HttpStatusCode.Forbidden);
|
Assert.False(response.StatusCode == HttpStatusCode.Forbidden);
|
||||||
|
@ -59,4 +59,4 @@ public class AuthenticationTests : LighthouseServerTest
|
||||||
Assert.False(response.IsSuccessStatusCode);
|
Assert.False(response.IsSuccessStatusCode);
|
||||||
Assert.True(response.StatusCode == HttpStatusCode.Forbidden);
|
Assert.True(response.StatusCode == HttpStatusCode.Forbidden);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue