Skip to content

Commit 9426510

Browse files
authored
Consolidate NUnit3TestAdapter to 5.0.0 + address minor analyzer issues (#871)
1 parent 132fbc4 commit 9426510

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

NGitLab.Mock.Tests/NGitLab.Mock.Tests.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<PrivateAssets>all</PrivateAssets>
1414
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1515
</PackageReference>
16-
<PackageReference Include="NUnit3TestAdapter" Version="4.6.0" />
16+
<PackageReference Include="NUnit3TestAdapter" Version="5.0.0" />
1717
<PackageReference Include="Verify.NUnit" Version="28.13.0" />
1818
</ItemGroup>
1919
</Project>

NGitLab/IGitLabClient.cs

+3-3
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,9 @@ public interface IGitLabClient
101101

102102
IProtectedTagClient GetProtectedTagClient(ProjectId projectId);
103103

104-
public ISearchClient GetGroupSearchClient(GroupId groupId);
104+
ISearchClient GetGroupSearchClient(GroupId groupId);
105105

106-
public ISearchClient GetProjectSearchClient(ProjectId projectId);
106+
ISearchClient GetProjectSearchClient(ProjectId projectId);
107107

108-
public IGroupHooksClient GetGroupHooksClient(GroupId groupId);
108+
IGroupHooksClient GetGroupHooksClient(GroupId groupId);
109109
}

NGitLab/IUserClient.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public interface IUserClient
3333
/// <param name="tokenRequest">info required to create the token</param>
3434
/// <param name="cancellationToken">Optional cancellation token.</param>
3535
/// <returns>The new impersonation token.</returns>
36-
public Task<UserToken> CreateTokenAsync(UserTokenCreate tokenRequest, CancellationToken cancellationToken = default);
36+
Task<UserToken> CreateTokenAsync(UserTokenCreate tokenRequest, CancellationToken cancellationToken = default);
3737

3838
/// <inheritdoc cref="CreateTokenAsync(UserTokenCreate, CancellationToken)"/>>
3939
UserToken CreateToken(UserTokenCreate tokenRequest);

NGitLab/Impl/IGitDiffChangeCounter.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ namespace NGitLab.Impl;
44

55
public interface IGitDiffChangeCounter
66
{
7-
public DiffStats Compute(MergeRequestChange mergeRequestChange);
7+
DiffStats Compute(MergeRequestChange mergeRequestChange);
88
}

0 commit comments

Comments
 (0)