Removing NuGetConfig from the first run experience and replacing the sentinel with the FirstUseNoticeSentinel when needed.
This commit is contained in:
parent
529d7caa79
commit
a357fd7bca
15 changed files with 37 additions and 148 deletions
|
@ -109,7 +109,7 @@ namespace Microsoft.DotNet.Cli.MSBuild.Tests
|
|||
|
||||
result.Should().Fail();
|
||||
|
||||
result.StdOut.Should().ContainVisuallySameFragment(@"source(s): /usr/local/bin, nuget.org");
|
||||
result.StdOut.Should().ContainVisuallySameFragment("NU1101");
|
||||
}
|
||||
|
||||
[Fact]
|
||||
|
@ -186,7 +186,7 @@ namespace Microsoft.DotNet.Cli.MSBuild.Tests
|
|||
}
|
||||
}
|
||||
|
||||
public sealed class MockNuGetCacheSentinel : INuGetCacheSentinel
|
||||
public sealed class MockNuGetCacheSentinel : IFirstTimeUseNoticeSentinel
|
||||
{
|
||||
private readonly Func<bool> _exists;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue