Skip to content

Commit 8a1e7fd

Browse files
committed
Fix compilation error
1 parent 0e009de commit 8a1e7fd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Orm/Xtensive.Orm.Tests/Upgrade/EntitySetUpgrade/UpgradeTest.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public class UpgradeTest
1919
[SetUp]
2020
public void SetUp()
2121
{
22-
using (BuildDomain("1", DomainUpgradeMode.Recreate))
22+
using (var domain = BuildDomain("1", DomainUpgradeMode.Recreate))
2323
using (var session = domain.OpenSession()) {
2424
using (var tx = session.OpenTransaction()) {
2525
var person = new M1.Person();
@@ -36,7 +36,7 @@ public void SetUp()
3636
[IgnoreOnGithubActionsIfFailed(StorageProvider.Firebird)]
3737
public void UpgradeToVersion2Test()
3838
{
39-
using (BuildDomain("2", DomainUpgradeMode.Perform))
39+
using (var domain = BuildDomain("2", DomainUpgradeMode.Perform))
4040
using (var session = domain.OpenSession()) {
4141
using (session.OpenTransaction()) {
4242
Assert.AreEqual(1, session.Query.All<M2.Person>().Count());

0 commit comments

Comments
 (0)