Reacting to KoreBuild xunit test changes
This commit is contained in:
parent
05ac95c344
commit
f3740b2196
|
|
@ -1,16 +1,14 @@
|
|||
// Copyright (c) .NET Foundation. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
using System.IO;
|
||||
|
||||
namespace Microsoft.AspNetCore.Mvc.FunctionalTests
|
||||
{
|
||||
public class MvcSampleFixture<TStartup> : MvcTestFixture<TStartup>
|
||||
{
|
||||
public MvcSampleFixture()
|
||||
#if NETSTANDARDAPP1_5
|
||||
:base("../../../../../../samples/")
|
||||
#else
|
||||
: base("../../../../samples/")
|
||||
#endif
|
||||
: base(Path.Combine("..", "..", "..", "..", "..", "..", "samples"))
|
||||
{
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -24,11 +24,7 @@ namespace Microsoft.AspNetCore.Mvc.FunctionalTests
|
|||
private readonly TestServer _server;
|
||||
|
||||
public MvcTestFixture()
|
||||
#if NETSTANDARDAPP1_5
|
||||
: this(Path.Combine("..", "..", "..", "..", "..", "WebSites"))
|
||||
#else
|
||||
: this(Path.Combine("..", "..", "..", "WebSites"))
|
||||
#endif
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -26,10 +26,12 @@
|
|||
"dotnet-test-xunit": "1.0.0-dev-*"
|
||||
}
|
||||
},
|
||||
"dnx451": {
|
||||
"net451": {
|
||||
"frameworkAssemblies": {
|
||||
"System.Threading.Tasks": ""
|
||||
},
|
||||
"dependencies": {
|
||||
"Moq": "4.2.1312.1622",
|
||||
"xunit.runner.aspnet": "2.0.0-aspnet-*"
|
||||
"Moq": "4.2.1312.1622"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue