New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CIS-656] Revert changeHash changes #813
Conversation
b2a57f0
to
6f3d010
Compare
Generated by 🚫 Danger |
Codecov Report
@@ Coverage Diff @@
## main #813 +/- ##
==========================================
- Coverage 87.53% 86.76% -0.78%
==========================================
Files 229 228 -1
Lines 8812 8629 -183
==========================================
- Hits 7714 7487 -227
- Misses 1098 1142 +44
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
||
// Act: Save payload again | ||
let user = try database.viewContext.saveUser(payload: payload) | ||
|
||
// Assert: DTO should not contain any changes | ||
XCTAssertFalse(user.hasPersistentChangedValues) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like how we have almost 1k tests written in a certain way and you went "YOLO I'll do Arrange / Act / Assert
" 😅
#802 made #752 changes obsolete. To keep codebase clean, we revert this changes, keeping new tests.