Removing NuGetConfig from the first run experience and replacing the sentinel with the FirstUseNoticeSentinel when needed.

This commit is contained in:
Livar Cunha 2017-06-19 20:52:19 -07:00
parent 529d7caa79
commit a357fd7bca
15 changed files with 37 additions and 148 deletions

View file

@ -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;