This is an automated email from the ASF dual-hosted git repository.

ptupitsyn pushed a commit to branch ignite-22133-bak
in repository https://gitbox.apache.org/repos/asf/ignite-3.git

commit 42fc3df5d87a04336b751823c709b2894d7e3056
Author: Pavel Tupitsyn <[email protected]>
AuthorDate: Fri Jun 27 14:40:43 2025 +0300

    wip TestMigrateFromEmpty
---
 .../Apache.Ignite.EntityFrameworkCore.Tests/BasicTest.cs       | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git 
a/modules/platforms/dotnet/Apache.Ignite.EntityFrameworkCore.Tests/BasicTest.cs 
b/modules/platforms/dotnet/Apache.Ignite.EntityFrameworkCore.Tests/BasicTest.cs
index 3962cd5d3a8..2bb8a4efc4e 100644
--- 
a/modules/platforms/dotnet/Apache.Ignite.EntityFrameworkCore.Tests/BasicTest.cs
+++ 
b/modules/platforms/dotnet/Apache.Ignite.EntityFrameworkCore.Tests/BasicTest.cs
@@ -47,7 +47,9 @@ public class BasicTest
         {
             Author = new Author(Guid.NewGuid(), "George", "Orwell")
         };
+
         ctx.Books.Add(book);
+
         await ctx.SaveChangesAsync();
         ctx.ChangeTracker.Clear();
 
@@ -77,6 +79,14 @@ public class BasicTest
         Assert.AreEqual(expectedSql, queryString);
     }
 
+    [Test]
+    public async Task TestMigrateFromEmpty()
+    {
+        await using var ctx = CreateDbContext();
+
+        await ctx.Database.MigrateAsync();
+    }
+
     private static TestDbContext CreateDbContext()
     {
         var contextOptionsBuilder = new DbContextOptionsBuilder<TestDbContext>(

Reply via email to