Skip to content

[2.1. test only] Remove checks for Microsoft.VisualStudio.Web.CodeGeneration.Design in templates #7983

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 27, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/Templating/test/Templates.Test/MvcTemplateTest.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) .NET Foundation. All rights reserved.
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.

using Microsoft.AspNetCore.Testing.xunit;
Expand Down Expand Up @@ -112,7 +112,7 @@ private void MvcTemplate_IndividualAuthImpl(string targetFrameworkOverride, bool
{
Assert.Contains(".db", projectFileContents);
}
Assert.Contains("Microsoft.VisualStudio.Web.CodeGeneration.Design", projectFileContents);
Assert.DoesNotContain("Microsoft.VisualStudio.Web.CodeGeneration.Design", projectFileContents);

if (targetFrameworkOverride != null)
{
Expand Down
4 changes: 2 additions & 2 deletions src/Templating/test/Templates.Test/RazorPagesTemplateTest.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) .NET Foundation. All rights reserved.
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.

using Microsoft.AspNetCore.Testing.xunit;
Expand Down Expand Up @@ -92,7 +92,7 @@ private void RazorPagesTemplate_IndividualAuthImpl(string targetFrameworkOverrid
{
Assert.Contains(".db", projectFileContents);
}
Assert.Contains("Microsoft.VisualStudio.Web.CodeGeneration.Design", projectFileContents);
Assert.DoesNotContain("Microsoft.VisualStudio.Web.CodeGeneration.Design", projectFileContents);

if (targetFrameworkOverride != null)
{
Expand Down