Skip to content

Commit 75e044f

Browse files
committed
1.0.28 - small test fix
1 parent b8e9769 commit 75e044f

2 files changed

Lines changed: 1 addition & 4 deletions

File tree

src/ReactorData.Tests/BasicEfCoreStorageTests.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,13 +93,12 @@ public async Task BasicOperationsOnEntityWithRelationshipUsingEfCoreStorage()
9393
_container.GetEntityStatus(movie).Should().Be(EntityStatus.Detached);
9494

9595
_container.Add(movie);
96+
_container.Add(director);
9697

9798
await _container.Flush();
9899

99100
_container.GetEntityStatus(movie).Should().Be(EntityStatus.Added);
100101

101-
//_container.Set<Movie>().Single().Should().BeSameAs(movie);
102-
103102
_container.Save();
104103

105104
await _container.Flush();

src/ReactorData/Implementation/ModelContext.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@ partial class ModelContext : IModelContext
2828
private readonly ConcurrentDictionary<Type, List<WeakReference<IObservableQuery>>> _queries = [];
2929

3030
private readonly SemaphoreSlim _notificationSemaphore = new(1);
31-
32-
//private readonly ModelContext? _owner;
3331

3432
private readonly ILogger<ModelContext>? _logger;
3533

0 commit comments

Comments
 (0)