-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'next' into feature/start-team-coverage
- Loading branch information
Showing
100 changed files
with
9,742 additions
and
558 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 5 additions & 8 deletions
13
src/Gameboard.Api.Tests.Integration/Fixtures/Auth/TestClaimsTransformation.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,10 @@ | ||
using System.Security.Claims; | ||
using Microsoft.AspNetCore.Authentication; | ||
|
||
namespace Gameboard.Api.Tests.Integration.Fixtures | ||
namespace Gameboard.Api.Tests.Integration.Fixtures; | ||
|
||
internal class TestClaimsTransformation : IClaimsTransformation | ||
{ | ||
internal class TestClaimsTransformation : IClaimsTransformation | ||
{ | ||
public Task<ClaimsPrincipal> TransformAsync(ClaimsPrincipal principal) | ||
{ | ||
return Task.FromResult(principal); | ||
} | ||
} | ||
public Task<ClaimsPrincipal> TransformAsync(ClaimsPrincipal principal) | ||
=> Task.FromResult(principal); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
using System.Collections.Generic; | ||
|
||
namespace Gameboard.Api.Data; | ||
|
||
public sealed class FeedbackTemplate : IEntity | ||
{ | ||
public string Id { get; set; } | ||
public string HelpText { get; set;} | ||
public required string Name { get; set; } | ||
public required string Content { get; set; } | ||
|
||
public required string CreatedByUserId { get; set; } | ||
public Data.User CreatedByUser { get; set; } | ||
public required ICollection<Data.Game> UseAsFeedbackTemplateForGames { get; set; } = []; | ||
public required ICollection<Data.Game> UseAsFeedbackTemplateForGameChallenges { get; set; } = []; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.