Skip to content

Commit fbf1fcf

Browse files
Update tests
1 parent cea2c48 commit fbf1fcf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/Unit/Modules/HelperModuleTests.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ static HelperModuleTests()
4949
};
5050

5151
var funcLoadReq = new FunctionLoadRequest { FunctionId = "FunctionId", Metadata = rpcFuncMetadata };
52-
FunctionLoader.SetupWellKnownPaths(funcLoadReq, managedDependenciesPath: null);
52+
FunctionLoader.SetupWellKnownPaths(funcLoadReq.Metadata.Directory, managedDependenciesPath: null);
5353
s_pwsh = Utils.NewPwshInstance();
5454
s_funcInfo = new AzFunctionInfo(rpcFuncMetadata);
5555
}

test/Unit/PowerShell/PowerShellManagerTests.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ static PowerShellManagerTests()
8080
};
8181

8282
s_functionLoadRequest = new FunctionLoadRequest { FunctionId = "FunctionId", Metadata = rpcFunctionMetadata };
83-
FunctionLoader.SetupWellKnownPaths(s_functionLoadRequest, managedDependenciesPath: null);
83+
FunctionLoader.SetupWellKnownPaths(s_functionLoadRequest.Metadata.Directory, managedDependenciesPath: null);
8484
}
8585

8686
// Have a single place to get a PowerShellManager for testing.

0 commit comments

Comments
 (0)