Add tests for identity UI (#8351)
This commit is contained in:
parent
d7a9606040
commit
8250442159
|
|
@ -123,7 +123,7 @@ This package is an internal implementation of the .NET Core SDK and is not meant
|
|||
<IncludeAssets>Runtime;Native</IncludeAssets>
|
||||
</Reference>
|
||||
|
||||
<ProjectReference Condition="'$(BuildIisNativeProjects)' == 'true' AND '$(BuildNative)' != 'false'" Include="$(RepositoryRoot)src\Servers\IIS\AspNetCoreModuleV2\InProcessRequestHandler\InProcessRequestHandler.vcxproj">
|
||||
<ProjectReference Condition="'$(BuildIisNativeProjects)' == 'true' AND '$(BuildNative)' != 'false' AND '$(VCTargetsPath)' != ''" Include="$(RepositoryRoot)src\Servers\IIS\AspNetCoreModuleV2\InProcessRequestHandler\InProcessRequestHandler.vcxproj">
|
||||
<SetPlatform>Platform=$(TargetArchitecture)</SetPlatform>
|
||||
<SetPlatform Condition="'$(TargetArchitecture)' == 'x86'">Platform=Win32</SetPlatform>
|
||||
<!-- Custom attribute used to distinguish managed from native references. -->
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@
|
|||
<TargetFramework>netcoreapp3.0</TargetFramework>
|
||||
<NoDefaultLaunchSettingsFile Condition="'$(ExcludeLaunchSettings)' == 'True'">True</NoDefaultLaunchSettingsFile>
|
||||
<RootNamespace Condition="'$(name)' != '$(name{-VALUE-FORMS-}safe_namespace)'">Company.WebApplication1</RootNamespace>
|
||||
<PreserveCompilationReferences>true</PreserveCompilationReferences>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
|
|
|||
|
|
@ -6,4 +6,4 @@ param()
|
|||
|
||||
. $PSScriptRoot\Test-Template.ps1
|
||||
|
||||
Test-Template "webapp" "webapp -au Individual" "Microsoft.DotNet.Web.ProjectTemplates.3.0.3.0.0-alpha1.nupkg" $false
|
||||
Test-Template "webapp" "webapp -au Individual" "Microsoft.DotNet.Web.ProjectTemplates.3.0.3.0.0-preview4-t000.nupkg" $false
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ namespace Templates.Test
|
|||
|
||||
[Theory]
|
||||
[InlineData(null)]
|
||||
[InlineData("F#", Skip = "https://github.com/aspnet/Templating/issues/673")]
|
||||
[InlineData("F#")]
|
||||
private void MvcTemplate_NoAuthImpl(string languageOverride)
|
||||
{
|
||||
Project.RunDotNetNew("mvc", language: languageOverride);
|
||||
|
|
@ -72,6 +72,7 @@ namespace Templates.Test
|
|||
using (var aspNetProcess = Project.StartAspNetProcess(publish))
|
||||
{
|
||||
aspNetProcess.AssertOk("/");
|
||||
aspNetProcess.AssertOk("/Identity/Account/Login");
|
||||
aspNetProcess.AssertOk("/Home/Privacy");
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -65,6 +65,7 @@ namespace Templates.Test
|
|||
using (var aspNetProcess = Project.StartAspNetProcess(publish))
|
||||
{
|
||||
aspNetProcess.AssertOk("/");
|
||||
aspNetProcess.AssertOk("/Identity/Account/Login");
|
||||
aspNetProcess.AssertOk("/Privacy");
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue