Added new test case to show it working

This commit is contained in:
Emma Garland
2020-04-16 14:37:06 +01:00
parent cc26a7e67b
commit 8a7a0f65b1
2 changed files with 2 additions and 0 deletions

View File

@@ -49,6 +49,7 @@ namespace Umbraco.Tests.Integration.Umbraco.Configuration.UmbracoSettings
[TestCase("php", true)]
[TestCase("ashx", false)]
[TestCase("config", false)]
[TestCase("test", true)]
public override void IsFileAllowedForUpload_WithWhitelist(string extension, bool expected)
{
Console.WriteLine("Extension being tested: {0}", extension);

View File

@@ -98,6 +98,7 @@ namespace Umbraco.Tests.Integration.Umbraco.Configuration.UmbracoSettings
[TestCase("php", false)]
[TestCase("ashx", false)]
[TestCase("config", false)]
[TestCase("test", false)]
public virtual void IsFileAllowedForUpload_WithWhitelist(string extension, bool expected)
{
Console.WriteLine("Extension being tested: {0}", extension);