-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
PHPORM-160 Add tests to documentation examples #2775
Conversation
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 focused my review on the DocumentationExamplesTest file. As for the rest of the commits, are those backports from a newer version? If so, can we backport a squashed commit? Also, is 4.1 the correct target branch here?
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.
Tests LGTM. I'll defer to the docs team to ensure the examples are what they expect.
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
Fix PHPORM-160
Based on #2747
To run the test:
php vendor/bin/phpunit docs/includes/eloquent-models/relationships/RelationshipsExamplesTest.php
Preview: https://preview-mongodbcchomongodb.gatsbyjs.io/laravel/GromNaN-PHPORM-160/eloquent-models/
Checklist