mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-08-01 17:48:41 +00:00
[skip ci] Remove .NET 5 checks
This commit is contained in:
parent
57ba3f76ff
commit
7a98d0558b
2 changed files with 0 additions and 8 deletions
|
@ -15,11 +15,7 @@ public class AuthenticationTests : LighthouseServerTest
|
||||||
{
|
{
|
||||||
HttpResponseMessage response = await this.Client.PostAsync("/LITTLEBIGPLANETPS3_XML/login", null!);
|
HttpResponseMessage response = await this.Client.PostAsync("/LITTLEBIGPLANETPS3_XML/login", null!);
|
||||||
Assert.False(response.IsSuccessStatusCode);
|
Assert.False(response.IsSuccessStatusCode);
|
||||||
#if NET6_0_OR_GREATER
|
|
||||||
Assert.True(response.StatusCode == HttpStatusCode.BadRequest);
|
Assert.True(response.StatusCode == HttpStatusCode.BadRequest);
|
||||||
#else
|
|
||||||
Assert.True(response.StatusCode == HttpStatusCode.NotAcceptable);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
[DatabaseFact]
|
[DatabaseFact]
|
||||||
|
|
|
@ -7,11 +7,7 @@ namespace LBPUnion.ProjectLighthouse.Types;
|
||||||
public class HeartedProfile
|
public class HeartedProfile
|
||||||
{
|
{
|
||||||
// ReSharper disable once UnusedMember.Global
|
// ReSharper disable once UnusedMember.Global
|
||||||
#if NET6_0_OR_GREATER
|
|
||||||
[Obsolete($"Use {nameof(HeartedUserId)} instead, this is a key which you should never need to use.")]
|
[Obsolete($"Use {nameof(HeartedUserId)} instead, this is a key which you should never need to use.")]
|
||||||
#else
|
|
||||||
[Obsolete("Use HeartedUserId instead, this is a key which you should never need to use.")]
|
|
||||||
#endif
|
|
||||||
[Key]
|
[Key]
|
||||||
public int HeartedProfileId { get; set; }
|
public int HeartedProfileId { get; set; }
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue