This commit is contained in:
Kacper Donat 2021-04-06 19:07:08 +02:00
parent 4dc9f67ce5
commit 22ef40b42d
2 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@
</providers>
</entityFramework>
<connectionStrings>
<add name="Blog" connectionString="Data Source=(LocalDB)\MSSQLLocalDB;AttachDbFilename=C:\Users\Kacper\Downloads\Blog2021\BlogCode\Blog.DAL.Tests\Database1.mdf;Integrated Security=True;Connect Timeout=30" providerName="System.Data.SqlClient" />
<add name="Blog" connectionString="Data Source=(LocalDB)\MSSQLLocalDB;AttachDbFilename=Database.mdf;Integrated Security=True;Connect Timeout=30" providerName="System.Data.SqlClient" />
</connectionStrings>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8" /></startup>
<runtime>

View File

@ -14,7 +14,7 @@ using NUnit.Framework;
namespace Blog.DAL.Tests
{
[TestFixture]
public class RepositoryTests// : DbBaseTest<BlogFixtures>
public class RepositoryTests : DbBaseTest<BlogFixtures>
{
[Test]
public void GetAllPost_OnePostInDb_ReturnTwoPosts()