Skip to content

Commit 29cbd9b

Browse files
committed
Merge branch 'main' of https://github.com/kine/gh-gei
2 parents 413bd74 + a694649 commit 29cbd9b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/OctoshiftCLI.Tests/ado2gh/Commands/AddTeamToRepo/AddTeamToRepoCommandHandlerTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,6 @@ public async Task Happy_Path()
3939
};
4040
await _handler.Handle(args);
4141

42-
_mockGithubApi.Verify(x => x.AddTeamToRepo(GITHUB_ORG, GITHUB_REPO, teamSlug, role,null));
42+
_mockGithubApi.Verify(x => x.AddTeamToRepo(GITHUB_ORG, GITHUB_REPO, teamSlug, role, null));
4343
}
4444
}

src/OctoshiftCLI.Tests/ado2gh/Commands/AddTeamToRepo/AddTeamToRepoCommandTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public void Should_Have_Options()
4141
TestHelpers.VerifyCommandOption(command.Options, "role", true);
4242
TestHelpers.VerifyCommandOption(command.Options, "github-pat", false);
4343
TestHelpers.VerifyCommandOption(command.Options, "verbose", false);
44-
TestHelpers.VerifyCommandOption(_command.Options, "target-api-url", false);
44+
TestHelpers.VerifyCommandOption(command.Options, "target-api-url", false);
4545
}
4646

4747
[Fact]

src/ado2gh/Commands/AddTeamToRepo/AddTeamToRepoCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public override AddTeamToRepoCommandHandler BuildHandler(AddTeamToRepoCommandArg
6161

6262
var log = sp.GetRequiredService<OctoLogger>();
6363
var targetGithubApiFactory = sp.GetRequiredService<ITargetGithubApiFactory>();
64-
var githubApi = targetGithubApiFactory.Create(apiUrl: args.TargetApiUrl,targetPersonalAccessToken: args.GithubPat);
64+
var githubApi = targetGithubApiFactory.Create(apiUrl: args.TargetApiUrl, targetPersonalAccessToken: args.GithubPat);
6565

6666
return new AddTeamToRepoCommandHandler(log, githubApi);
6767
}

0 commit comments

Comments
 (0)