-
Notifications
You must be signed in to change notification settings - Fork 9.4k
#12625: Add Current Date to update_time Field for Block and Pages #12636
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
Conversation
|
Hi @osrecio, thanks for your pull request! Please can you have a look at the failing integration test? |
aaceaa4 to
d67065e
Compare
|
@mzeis Adapted Tests |
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.
Please, use framework implementation for date value \Magento\Framework\Stdlib\DateTime\DateTime::date
dd2e65f to
00c3c28
Compare
|
@sidolov Changes made, and added integration tests for Cms Block 😃 |
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.
It's better to get the object manager in the setUp method (example).
00c3c28 to
e64f3d2
Compare
|
@mzeis Added ObjectManager to I copied test from |
e64f3d2 to
bfee13d
Compare
|
@sidolov I followed your suggestions and I adapted my PR. |
|
@mzeis Are you referring to the tests changed in branch These test: BlockTest.php , PageTest.php Thanks! |
|
I will work to make these changes, Thanks @mzeis |
bfee13d to
5ecf42c
Compare
|
Hi @mzeis I adapted |
|
@osrecio, please, check failed static tests |
5ecf42c to
1240973
Compare
1240973 to
22f454d
Compare
|
@sidolov Fixed Static Tests, the pre-commit deleted by me the reference in namespace 😄 |
|
@osrecio Many thanks for your contribution. It has been merged. Happy holidays! 🎄 |
|
Thanks @mzeis , Happy holidays and happy new year!! |
Set Current Date Time to update_time field
Description
add current date time to 'update_time' in
_beforeSavemethod for Page and BlockFixed Issues (if relevant)
Manual testing scenarios
Contribution checklist