-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore nuget deps update and lint (#519)
* chore nuget deps update and lint * update dotnet tools json
- Loading branch information
Showing
128 changed files
with
230 additions
and
219 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
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
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 |
---|---|---|
|
@@ -35,7 +35,7 @@ public UserRemoveConfirmationModelTests() | |
[Fact] | ||
public async Task OnGet_Returns_Page_When_Person_Found() | ||
{ | ||
var person = new Organisation.WebApiClient.Person ("[email protected]", "John", _pageModel.UserId, "Johnson", []); | ||
var person = new Organisation.WebApiClient.Person("[email protected]", "John", _pageModel.UserId, "Johnson", []); | ||
_mockOrganisationClient.Setup(client => client.GetOrganisationPersonsAsync(It.IsAny<Guid>())) | ||
.ReturnsAsync(new List<Organisation.WebApiClient.Person> { person }); | ||
|
||
|
@@ -92,7 +92,7 @@ public async Task OnPost_Returns_Page_When_ModelState_Is_Invalid() | |
public async Task OnPost_Redirects_To_UserSummary_When_ConfirmRemove_Is_True_And_Person_Exists() | ||
{ | ||
_pageModel.ConfirmRemove = true; | ||
var person = new Organisation.WebApiClient.Person ("[email protected]", "John", _pageModel.UserId, "Johnson", []); | ||
var person = new Organisation.WebApiClient.Person("[email protected]", "John", _pageModel.UserId, "Johnson", []); | ||
_mockOrganisationClient.Setup(client => client.GetOrganisationPersonsAsync(It.IsAny<Guid>())) | ||
.ReturnsAsync(new List<Organisation.WebApiClient.Person> { person }); | ||
|
||
|
@@ -134,7 +134,7 @@ public async Task OnPost_Redirects_To_UserSummary_When_ConfirmRemove_Is_False() | |
[Fact] | ||
public async Task GetPerson_Returns_Person_When_Found() | ||
{ | ||
var person = new Organisation.WebApiClient.Person ("[email protected]", "John", _pageModel.UserId, "Johnson", []); | ||
var person = new Organisation.WebApiClient.Person("[email protected]", "John", _pageModel.UserId, "Johnson", []); | ||
_mockOrganisationClient.Setup(client => client.GetOrganisationPersonsAsync(It.IsAny<Guid>())) | ||
.ReturnsAsync(new List<Organisation.WebApiClient.Person> { person }); | ||
|
||
|
@@ -146,7 +146,7 @@ public async Task GetPerson_Returns_Person_When_Found() | |
[Fact] | ||
public async Task GetPersonInvite_Returns_PersonInvite_When_Found() | ||
{ | ||
var personInvite = new PersonInviteModel ("[email protected]", "John", _pageModel.UserId, "Johnson", []); | ||
var personInvite = new PersonInviteModel("[email protected]", "John", _pageModel.UserId, "Johnson", []); | ||
_mockOrganisationClient.Setup(client => client.GetOrganisationPersonInvitesAsync(It.IsAny<Guid>())) | ||
.ReturnsAsync(new List<PersonInviteModel> { personInvite }); | ||
|
||
|
@@ -176,4 +176,4 @@ public async Task GetPerson_Returns_Null_When_ApiException_Is_Thrown_With_404() | |
|
||
Assert.Null(result); | ||
} | ||
} | ||
} |
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 |
---|---|---|
|
@@ -37,7 +37,7 @@ public async Task OnGet_ReturnsPageResult_WhenApiCallsSucceed() | |
var organisationId = Guid.NewGuid(); | ||
_pageModel.Id = organisationId; | ||
|
||
var person = new Organisation.WebApiClient.Person("[email protected]", "John", _userGuid, "Johnson", ["ADMIN"] ); | ||
var person = new Organisation.WebApiClient.Person("[email protected]", "John", _userGuid, "Johnson", ["ADMIN"]); | ||
|
||
_mockOrganisationClient | ||
.Setup(client => client.GetOrganisationPersonsAsync(organisationId)) | ||
|
@@ -63,7 +63,7 @@ public async Task OnGet_RedirectsToPageNotFound_WhenUserDoesNotHaveAdminRole() | |
var organisationId = Guid.NewGuid(); | ||
_pageModel.Id = organisationId; | ||
|
||
var person = new Organisation.WebApiClient.Person("[email protected]", "Johnny", _userGuid, "NoAdminJohnson", ["VIEWER"] ); | ||
var person = new Organisation.WebApiClient.Person("[email protected]", "Johnny", _userGuid, "NoAdminJohnson", ["VIEWER"]); | ||
|
||
_mockOrganisationClient | ||
.Setup(client => client.GetOrganisationPersonsAsync(organisationId)) | ||
|
@@ -132,4 +132,4 @@ public void OnPost_RedirectsToOrganisationPage_WhenHasPersonIsFalse() | |
var redirectResult = Assert.IsType<RedirectResult>(result); | ||
Assert.Equal($"/organisation/{organisationId}", redirectResult.Url); | ||
} | ||
} | ||
} |
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 |
---|---|---|
|
@@ -32,4 +32,4 @@ public async Task<IActionResult> OnGet(string shareCode) | |
} | ||
return Page(); | ||
} | ||
} | ||
} |
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 |
---|---|---|
|
@@ -42,4 +42,4 @@ public async Task<IActionResult> OnGet() | |
} | ||
return Page(); | ||
} | ||
} | ||
} |
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 |
---|---|---|
|
@@ -278,5 +278,5 @@ private string GetRedirectLinkPageName(ConnectedEntityState state) | |
|
||
return redirectPage; | ||
} | ||
|
||
} |
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 |
---|---|---|
|
@@ -166,4 +166,4 @@ | |
return Task.CompletedTask; | ||
}); | ||
|
||
app.Run(); | ||
app.Run(); |
Oops, something went wrong.