Skip to content

New Programming Model #959

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 10 commits into
base: dev
Choose a base branch
from
Prev Previous commit
Next Next commit
Update tests
  • Loading branch information
Francisco-Gamino committed Jun 26, 2023
commit 52cb4786ee6502ceff9bc67a3e56cde543864638
2 changes: 1 addition & 1 deletion test/Unit/Modules/HelperModuleTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ static HelperModuleTests()
};

var funcLoadReq = new FunctionLoadRequest { FunctionId = "FunctionId", Metadata = rpcFuncMetadata };
FunctionLoader.SetupWellKnownPaths(funcLoadReq, managedDependenciesPath: null);
FunctionLoader.SetupWellKnownPaths(funcLoadReq.Metadata.Directory, managedDependenciesPath: null);
s_pwsh = Utils.NewPwshInstance();
s_funcInfo = new AzFunctionInfo(rpcFuncMetadata);
}
Expand Down
2 changes: 1 addition & 1 deletion test/Unit/PowerShell/PowerShellManagerTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ static PowerShellManagerTests()
};

s_functionLoadRequest = new FunctionLoadRequest { FunctionId = "FunctionId", Metadata = rpcFunctionMetadata };
FunctionLoader.SetupWellKnownPaths(s_functionLoadRequest, managedDependenciesPath: null);
FunctionLoader.SetupWellKnownPaths(s_functionLoadRequest.Metadata.Directory, managedDependenciesPath: null);
}

// Have a single place to get a PowerShellManager for testing.
Expand Down