Skip to content

Commit ef524bc

Browse files
committed
log wich test fails
1 parent 55503d5 commit ef524bc

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/Migrator.Tests/Providers/Base/TransformationProviderConstraintBase.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
using System;
12
using System.Data;
23
using Migrator.Framework;
34
using NUnit.Framework;
@@ -85,7 +86,8 @@ public virtual void CanAddCheckConstraint()
8586

8687
[Test]
8788
public void RemoveForeignKey()
88-
{
89+
{
90+
Console.WriteLine($"Test running in class: {TestContext.CurrentContext.Test.ClassName}");
8991
AddForeignKey();
9092
Provider.RemoveForeignKey("TestTwo", "FK_Test_TestTwo");
9193
Assert.That(Provider.ConstraintExists("TestTwo", "FK_Test_TestTwo"), Is.False);
@@ -151,4 +153,4 @@ public void AddTableWithCompoundPrimaryKeyShouldKeepNullForOtherProperties()
151153
Assert.That(column, Is.Not.Null);
152154
Assert.That((column.ColumnProperty & ColumnProperty.Null) == ColumnProperty.Null, Is.True);
153155
}
154-
}
156+
}

0 commit comments

Comments
 (0)