Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Comments

Close side panel

Add OrdersFeedModifer#104

Merged
nathansalter merged 8 commits intoopenactive:masteropenactive/models-php:masterfrom
drinkynet:masterdrinkynet/models-php:masterCopy head branch name to clipboard
Jun 27, 2022
Merged

Add OrdersFeedModifer#104
nathansalter merged 8 commits intoopenactive:masteropenactive/models-php:masterfrom
drinkynet:masterdrinkynet/models-php:masterCopy head branch name to clipboard

Conversation

@drinkynet
Copy link
Contributor

@drinkynet drinkynet commented Jun 22, 2022

Adds an OrdersFeedModifier that filters out Order elements that should not be
present on Order objects when they are in the Orders RPDE feed. Also adds a
test case to check this.

…d not be present on Order objects when they are in the Orders RPDE feed. Also add a test case to check it works.
@drinkynet
Copy link
Contributor Author

Forgot about PHP 5.6 it doesn't like the : Order return type on the getTestOrder() method.

Copy link
Contributor

@nathansalter nathansalter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've made a couple of comments on the tests, otherwise this looks good! Just one thing, if you could edit your commit to shorten the commit line, that would be great. e.g.

Add OrdersFeedModifer

Adds an OrdersFeedModifier that filters out Order elements that should not be
present on Order objects when they are in the Orders RPDE feed. Also adds a
test case to check this.

tests/Unit/Modifiers/OrdersFeedModifierTest.php Outdated Show resolved Hide resolved
tests/Unit/Modifiers/OrdersFeedModifierTest.php Outdated Show resolved Hide resolved
@drinkynet drinkynet changed the title Add an Order feed modifier that filters out Order elements that shoul… Add OrdersFeedModifer Jun 27, 2022
@drinkynet drinkynet requested a review from nathansalter June 27, 2022 10:05
@nathansalter nathansalter merged commit ce8ab4b into openactive:master Jun 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.