Don't throw when type not found by TestOptionAttribute

This commit is contained in:
Lars-Erik Aabech
2019-10-15 23:57:54 +02:00
parent 1b8f9e91df
commit c56f6c161e

View File

@@ -31,7 +31,7 @@ namespace Umbraco.Tests.Testing
var test = TestContext.CurrentContext.Test;
var typeName = test.ClassName;
var methodName = test.MethodName;
var type = Type.GetType(typeName, true);
var type = Type.GetType(typeName, false);
if (type == null)
{
type = ScanAssemblies