fixe tests
This commit is contained in:
parent
9f55ef84da
commit
128735a237
6 changed files with 95 additions and 36 deletions
|
|
@ -1,14 +1,8 @@
|
|||
|
||||
using Microsoft.Data.Sqlite;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore.Diagnostics;
|
||||
using Yavsc.Models;
|
||||
|
||||
namespace Yavsc.Org.Tests.Mandatory
|
||||
{[Collection("Database")]
|
||||
[Trait("regression", "II")]
|
||||
[Trait("dev", "wip")]
|
||||
public class Database: IClassFixture<WebServerFixture>, IDisposable
|
||||
public class Database : IClassFixture<WebServerFixture>
|
||||
{
|
||||
readonly ITestOutputHelper output;
|
||||
readonly WebServerFixture _serverFixture;
|
||||
|
|
@ -24,15 +18,6 @@ namespace Yavsc.Org.Tests.Mandatory
|
|||
/// Install all our migrations in a fresh new database.
|
||||
/// </summary>
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
if (_serverFixture!=null)
|
||||
{
|
||||
_serverFixture.Dispose();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void TestDatabaseMigration()
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue