Skip to content

Commit 238cb37

Browse files
committed
Fixed test
1 parent 2f694e8 commit 238cb37

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

src/NHibernate.Test/Async/NHSpecificTest/GH2043/Fixture.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,6 @@ public async Task UpdateEntityWithInterfaceLookupAsync()
173173
.FirstAsync(e => e.Id == _entityWithInterfaceLookupId));
174174

175175
entityToUpdate.EntityLookup = (IEntityProxy)await (session.LoadAsync(typeof(EntityWithInterfaceProxyDefinition), _entityWithInterfaceProxy2Id));
176-
entityToUpdate.EntityLookup.Id = Guid.Empty;
177176

178177
await (session.UpdateAsync(entityToUpdate));
179178
await (session.FlushAsync());

src/NHibernate.Test/NHSpecificTest/GH2043/Fixture.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,6 @@ public void UpdateEntityWithInterfaceLookup()
161161
.First(e => e.Id == _entityWithInterfaceLookupId);
162162

163163
entityToUpdate.EntityLookup = (IEntityProxy)session.Load(typeof(EntityWithInterfaceProxyDefinition), _entityWithInterfaceProxy2Id);
164-
entityToUpdate.EntityLookup.Id = Guid.Empty;
165164

166165
session.Update(entityToUpdate);
167166
session.Flush();

0 commit comments

Comments
 (0)