mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-12-03 12:03:51 +08:00
Fixing specflow tests on TeamCity
--HG-- branch : 1.x
This commit is contained in:
@@ -8,11 +8,12 @@
|
|||||||
assemblies, which would otherwise not load
|
assemblies, which would otherwise not load
|
||||||
correctly.
|
correctly.
|
||||||
-->
|
-->
|
||||||
<startup useLegacyV2RuntimeActivationPolicy="true">
|
<!-- Needed for .NET 4.0 support and SQLite
|
||||||
<!-- Comment out the next line to force use of .NET 4.0 -->
|
see http://www.meadow.se/wordpress/?p=393 -->
|
||||||
<supportedRuntime version="v2.0.50727" />
|
<startup useLegacyV2RuntimeActivationPolicy="true">
|
||||||
<supportedRuntime version="v4.0.30319" />
|
<supportedRuntime version="v4.0"/>
|
||||||
</startup>
|
<requiredRuntime version="v4.0.30319" />
|
||||||
|
</startup>
|
||||||
|
|
||||||
<runtime>
|
<runtime>
|
||||||
<!-- Ensure that test exceptions don't crash NUnit -->
|
<!-- Ensure that test exceptions don't crash NUnit -->
|
||||||
|
|||||||
@@ -12,6 +12,9 @@ namespace Orchard.Specs.Util {
|
|||||||
if (path.Parent.Equals(basePath))
|
if (path.Parent.Equals(basePath))
|
||||||
return path.FileName;
|
return path.FileName;
|
||||||
|
|
||||||
|
if (!path.IsDirectory && path.DirectoryName.Equals(basePath.DirectoryName))
|
||||||
|
return path.FileName;
|
||||||
|
|
||||||
return path.Parent.GetRelativePath(basePath).Combine(path.FileName);
|
return path.Parent.GetRelativePath(basePath).Combine(path.FileName);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user