Added new test case to show it working
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user