mirror of
https://github.com/actions/runner.git
synced 2025-12-12 05:37:01 +00:00
move shared ExecutionContext properties under .Global (#594)
This commit is contained in:
@@ -203,6 +203,7 @@ namespace GitHub.Runner.Common.Tests.Worker
|
||||
|
||||
// Setup the execution context.
|
||||
_ec = new Mock<IExecutionContext>();
|
||||
_ec.Setup(x => x.Global).Returns(new GlobalContext());
|
||||
|
||||
GitHubContext githubContext = new GitHubContext();
|
||||
_ec.Setup(x => x.GetGitHubContext("repository")).Returns("actions/runner");
|
||||
|
||||
Reference in New Issue
Block a user