From 94ed857839627f5b6cfec9dbe6e9192bbed953d3 Mon Sep 17 00:00:00 2001 From: Audrunas Matonis Date: Tue, 3 Mar 2015 07:06:09 +0200 Subject: [PATCH] Removed unused packages from Core.Tests --- .../BetterModules.Core.Database.Tests.csproj | 1 + .../DataContext/Migrations/DefaultMigrationTests.cs | 2 +- .../TestHelpers/Migrations/TestDatabaseInitializer.cs | 3 ++- BetterModules.Core.Tests/BetterModules.Core.Tests.csproj | 9 --------- BetterModules.Core.Tests/packages.config | 3 --- packages/repositories.config | 1 - 6 files changed, 4 insertions(+), 15 deletions(-) rename {BetterModules.Core.Tests => BetterModules.Core.Database.Tests}/DataAccess/DataContext/Migrations/DefaultMigrationTests.cs (89%) diff --git a/BetterModules.Core.Database.Tests/BetterModules.Core.Database.Tests.csproj b/BetterModules.Core.Database.Tests/BetterModules.Core.Database.Tests.csproj index d408a7b..8bc0b7d 100644 --- a/BetterModules.Core.Database.Tests/BetterModules.Core.Database.Tests.csproj +++ b/BetterModules.Core.Database.Tests/BetterModules.Core.Database.Tests.csproj @@ -83,6 +83,7 @@ + diff --git a/BetterModules.Core.Tests/DataAccess/DataContext/Migrations/DefaultMigrationTests.cs b/BetterModules.Core.Database.Tests/DataAccess/DataContext/Migrations/DefaultMigrationTests.cs similarity index 89% rename from BetterModules.Core.Tests/DataAccess/DataContext/Migrations/DefaultMigrationTests.cs rename to BetterModules.Core.Database.Tests/DataAccess/DataContext/Migrations/DefaultMigrationTests.cs index 83fdf83..71649d4 100644 --- a/BetterModules.Core.Tests/DataAccess/DataContext/Migrations/DefaultMigrationTests.cs +++ b/BetterModules.Core.Database.Tests/DataAccess/DataContext/Migrations/DefaultMigrationTests.cs @@ -2,7 +2,7 @@ using BetterModules.Core.Exceptions; using NUnit.Framework; -namespace BetterModules.Core.Tests.DataAccess.DataContext.Migrations +namespace BetterModules.Core.Database.Tests.DataAccess.DataContext.Migrations { [TestFixture] public class DefaultMigrationTests diff --git a/BetterModules.Core.Database.Tests/TestHelpers/Migrations/TestDatabaseInitializer.cs b/BetterModules.Core.Database.Tests/TestHelpers/Migrations/TestDatabaseInitializer.cs index cb35808..db18074 100644 --- a/BetterModules.Core.Database.Tests/TestHelpers/Migrations/TestDatabaseInitializer.cs +++ b/BetterModules.Core.Database.Tests/TestHelpers/Migrations/TestDatabaseInitializer.cs @@ -64,11 +64,12 @@ private static void CheckIfTablesExist(SqlConnection connection) } } - Assert.GreaterOrEqual(tables.Count, 4); + Assert.GreaterOrEqual(tables.Count, 5); Assert.IsTrue(tables.Contains("VersionInfo")); Assert.IsTrue(tables.Contains("TestItems")); Assert.IsTrue(tables.Contains("TestItemCategories")); Assert.IsTrue(tables.Contains("TestItemChildren")); + Assert.IsTrue(tables.Contains("InheritedTestItems")); } } } diff --git a/BetterModules.Core.Tests/BetterModules.Core.Tests.csproj b/BetterModules.Core.Tests/BetterModules.Core.Tests.csproj index 4576eea..d5f5929 100644 --- a/BetterModules.Core.Tests/BetterModules.Core.Tests.csproj +++ b/BetterModules.Core.Tests/BetterModules.Core.Tests.csproj @@ -54,14 +54,6 @@ False ..\packages\Autofac.3.1.5\lib\net40\Autofac.dll - - False - ..\packages\FluentMigrator.1.0.6.0\lib\40\FluentMigrator.dll - - - False - ..\packages\FluentNHibernate.1.3.0.733\lib\FluentNHibernate.dll - False ..\packages\Iesi.Collections.3.2.0.4000\lib\Net35\Iesi.Collections.dll @@ -90,7 +82,6 @@ - diff --git a/BetterModules.Core.Tests/packages.config b/BetterModules.Core.Tests/packages.config index 6e27d0a..5872b57 100644 --- a/BetterModules.Core.Tests/packages.config +++ b/BetterModules.Core.Tests/packages.config @@ -1,9 +1,6 @@  - - - diff --git a/packages/repositories.config b/packages/repositories.config index 3ab4b12..c5bb583 100644 --- a/packages/repositories.config +++ b/packages/repositories.config @@ -1,6 +1,5 @@  -