fixes the tests
This commit is contained in:
@ -36,6 +36,9 @@
|
||||
"Microsoft.Dnx.TestHost": "1.0.0-rc1-final",
|
||||
"Microsoft.Dnx.Runtime": "1.0.0-rc1-final",
|
||||
"xunit.runner.dnx": "2.1.0-rc1-build204",
|
||||
"Yavsc.Server": {
|
||||
"target": "project"
|
||||
},
|
||||
"Yavsc": {
|
||||
"target": "project"
|
||||
}
|
||||
|
@ -9,7 +9,7 @@ using Yavsc.Abstract.Manage;
|
||||
using Yavsc.Lib;
|
||||
using Yavsc.Services;
|
||||
|
||||
namespace Yavsc.test
|
||||
namespace test
|
||||
{
|
||||
|
||||
[Collection("EMaillingTeststCollection")]
|
||||
|
@ -15,7 +15,7 @@ using Microsoft.AspNet.Builder.Internal;
|
||||
using Yavsc;
|
||||
using Microsoft.Extensions.Logging;
|
||||
|
||||
namespace Test
|
||||
namespace test
|
||||
{
|
||||
[Collection("Yavsc dropped intents")]
|
||||
public class NotWorking : BaseTestContext
|
||||
|
@ -2,6 +2,7 @@ using Microsoft.AspNet.Hosting;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using Yavsc.Lib;
|
||||
using Yavsc.Services;
|
||||
using Yavsc;
|
||||
|
||||
namespace test
|
||||
{
|
||||
|
@ -5,8 +5,9 @@ using Microsoft.Extensions.Logging;
|
||||
using Microsoft.Extensions.OptionsModel;
|
||||
using Yavsc.Lib;
|
||||
using Yavsc.Services;
|
||||
using Yavsc;
|
||||
|
||||
namespace Yavsc.test
|
||||
namespace test
|
||||
{
|
||||
public class ServerSideFixture : IDisposable {
|
||||
public SiteSettings _siteSetup;
|
||||
@ -22,6 +23,8 @@ namespace Yavsc.test
|
||||
_logger = _loggerFactory.CreateLogger<ServerSideFixture> ();
|
||||
_logger.LogInformation("ServerSideFixture");
|
||||
}
|
||||
|
||||
|
||||
void InitServices()
|
||||
{
|
||||
var host = new WebHostBuilder();
|
||||
@ -29,7 +32,7 @@ namespace Yavsc.test
|
||||
var hostengnine = host
|
||||
.UseEnvironment("Development")
|
||||
.UseServer("test")
|
||||
.UseStartup<Startup>()
|
||||
.UseStartup<test.Startup>()
|
||||
.Build();
|
||||
|
||||
_app = hostengnine.Start();
|
||||
@ -46,3 +49,5 @@ namespace Yavsc.test
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
@ -5,7 +5,7 @@ using System.Threading.Tasks;
|
||||
using System.Diagnostics;
|
||||
using Yavsc.Helpers;
|
||||
|
||||
namespace tests
|
||||
namespace test
|
||||
{
|
||||
public class YavscDnxUnitTests
|
||||
{
|
||||
|
@ -21,7 +21,7 @@ using Microsoft.Data.Entity;
|
||||
using Xunit.Abstractions;
|
||||
using System.IO;
|
||||
|
||||
namespace Test
|
||||
namespace test
|
||||
{
|
||||
public class BaseTestContext {
|
||||
protected IApplicationEnvironment applicationEnvironment = null;
|
||||
|
@ -18,7 +18,7 @@ using Yavsc;
|
||||
using Yavsc.Lib;
|
||||
using Yavsc.Models;
|
||||
|
||||
namespace Test
|
||||
namespace test
|
||||
{
|
||||
[Collection("Yavsc Work In Progress")]
|
||||
public class YavscWorkInProgress : BaseTestContext
|
||||
|
Reference in New Issue
Block a user