diff --git a/test/docfx.Tests/Api.verified.cs b/test/docfx.Tests/Api.verified.cs index c79fa61d103..0933d8366bb 100644 --- a/test/docfx.Tests/Api.verified.cs +++ b/test/docfx.Tests/Api.verified.cs @@ -517,6 +517,10 @@ public static class MarkdownTocReader { public static System.Collections.Generic.List LoadToc(string tocContent, string filePath) { } } + public static class TocHelper + { + public static Docfx.DataContracts.Common.TocItemViewModel LoadSingleToc(string file) { } + } } namespace Docfx.Build.Common { diff --git a/test/docfx.Tests/PublicApiContractTest.cs b/test/docfx.Tests/PublicApiContractTest.cs index fa854a76704..a644c409b86 100644 --- a/test/docfx.Tests/PublicApiContractTest.cs +++ b/test/docfx.Tests/PublicApiContractTest.cs @@ -18,7 +18,7 @@ public static Task TestPublicApiContract() .OrderBy(a => a.FullName) .Select(a => a.GeneratePublicApi(new() { IncludeAssemblyAttributes = false }))); - return Verify(new Target("cs", publicApi)).UseFileName("Api").AutoVerify(); + return Verify(new Target("cs", publicApi)).UseFileName("Api").AutoVerify(includeBuildServer: false); void GetAssemblies(Assembly assembly) {