Skip to content

Commit 6b15f77

Browse files
committed
C#: Fix test failures
1 parent 0db6a26 commit 6b15f77

File tree

1 file changed

+2
-2
lines changed
  • csharp/extractor/Semmle.Extraction.Tests

1 file changed

+2
-2
lines changed

csharp/extractor/Semmle.Extraction.Tests/DotNet.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ public void TestDotnetRestoreProjectToDirectory2()
123123
var dotnet = MakeDotnet(dotnetCliInvoker);
124124

125125
// Execute
126-
var res = dotnet.Restore(new("myproject.csproj", "mypackages", false, "myconfig.config"));
126+
var res = dotnet.Restore(new("myproject.csproj", "mypackages", false, null, "myconfig.config"));
127127

128128
// Verify
129129
var lastArgs = dotnetCliInvoker.GetLastArgs();
@@ -141,7 +141,7 @@ public void TestDotnetRestoreProjectToDirectory3()
141141
var dotnet = MakeDotnet(dotnetCliInvoker);
142142

143143
// Execute
144-
var res = dotnet.Restore(new("myproject.csproj", "mypackages", false, "myconfig.config", true));
144+
var res = dotnet.Restore(new("myproject.csproj", "mypackages", false, null, "myconfig.config", true));
145145

146146
// Verify
147147
var lastArgs = dotnetCliInvoker.GetLastArgs();

0 commit comments

Comments
 (0)