Skip to content

Commit

Permalink
Removed extra commited file
Browse files Browse the repository at this point in the history
  • Loading branch information
hvostya committed Jan 24, 2024
1 parent 8334b75 commit a9227da
Showing 1 changed file with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -643,17 +643,14 @@ public void AggregatorWithLinkToDetailTest1()
detail.Master = master;
ds.UpdateObject(aggregator);

/*var aggregatorActual = ds.Query<AggregatorUpdateObjectTest>(AggregatorUpdateObjectTest.Views.AggregatorUpdateObjectTestE)
var aggregatorActual = ds.Query<AggregatorUpdateObjectTest>(AggregatorUpdateObjectTest.Views.AggregatorUpdateObjectTestE)
.First(x => x.__PrimaryKey == aggregator.__PrimaryKey);

Assert.NotNull(aggregatorActual);
Assert.Equal(aggregator.__PrimaryKey, aggregatorActual.__PrimaryKey);
Assert.Equal(aggregator.AggregatorName, aggregatorActual.AggregatorName);
Assert.Equal(aggregator.Details.Count, aggregatorActual.Details.Count);
Assert.Equal(aggregator.Masters.Count, aggregatorActual.Masters.Count);*/

AggregatorUpdateObjectTest aggregatorActual = new AggregatorUpdateObjectTest();
aggregatorActual.SetExistObjectPrimaryKey(aggregator.__PrimaryKey);
Assert.Equal(aggregator.Masters.Count, aggregatorActual.Masters.Count);

aggregatorActual.SetStatus(ObjectStatus.Deleted);
ds.UpdateObject(aggregatorActual);
Expand Down Expand Up @@ -1272,4 +1269,4 @@ public void UpdateObjectByStaticPropertyTest()
}
}
}
}
}

0 comments on commit a9227da

Please sign in to comment.