From 9cebc4c389484b34bbdd08f0a5d15ccbd59141ad Mon Sep 17 00:00:00 2001 From: Sebastien Ros Date: Thu, 4 Oct 2012 18:24:12 -0700 Subject: [PATCH] Fixing functional test execution --HG-- branch : 1.x --- src/Orchard.Specs/Hosting/WebHost.cs | 6 +----- src/Orchard.Web/Orchard.Web.csproj | 1 + 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/Orchard.Specs/Hosting/WebHost.cs b/src/Orchard.Specs/Hosting/WebHost.cs index 9d2d59407..3c89887ef 100644 --- a/src/Orchard.Specs/Hosting/WebHost.cs +++ b/src/Orchard.Specs/Hosting/WebHost.cs @@ -45,11 +45,7 @@ namespace Orchard.Specs.Hosting { _orchardWebPath = _orchardWebPath.Parent; } - _orchardWebPath = _orchardWebPath.Combine("build").Combine("stage"); - - if (!_orchardWebPath.Exists) { - throw new ApplicationException("Could not locate stage folder at: " + _orchardWebPath.ToString()); - } + _orchardWebPath = _orchardWebPath.Combine("src").Combine("Orchard.Web"); Log("Initialization of ASP.NET host for template web site \"{0}\":", templateName); Log(" Source location: \"{0}\"", _orchardWebPath); diff --git a/src/Orchard.Web/Orchard.Web.csproj b/src/Orchard.Web/Orchard.Web.csproj index e04a60511..58c01dd64 100644 --- a/src/Orchard.Web/Orchard.Web.csproj +++ b/src/Orchard.Web/Orchard.Web.csproj @@ -94,6 +94,7 @@ False ..\..\lib\aspnetmvc\System.Web.Mvc.dll + True False