Skip to content
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

[Behat][API] Common saving within contexts #14860

Merged
merged 4 commits into from Mar 16, 2023
Merged

[Behat][API] Common saving within contexts #14860

merged 4 commits into from Mar 16, 2023

Conversation

Rafikooo
Copy link
Contributor

Q A
Branch? 1.13
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
License MIT

This PR introduces a single method for saving resources (API only), which eliminates the name conflict of saving methods when using multiple contexts within a single suite

@Rafikooo Rafikooo added the Feature New feature proposals. label Mar 15, 2023
@Rafikooo Rafikooo requested a review from a team as a code owner March 15, 2023 16:51
@GSadee GSadee added Behat Issues and PRs aimed at improving Behat usage. API APIs related issues and PRs. labels Mar 16, 2023

declare(strict_types=1);

namespace Sylius\Behat\Context\Api\Common;
Copy link
Member

Choose a reason for hiding this comment

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

Not sure if this additional namespace is necessary here:

Suggested change
namespace Sylius\Behat\Context\Api\Common;
namespace Sylius\Behat\Context\Api;

@GSadee GSadee merged commit 2974757 into Sylius:1.13 Mar 16, 2023
@GSadee
Copy link
Member

GSadee commented Mar 16, 2023

Thanks, Rafał! 🎉

@GSadee GSadee removed the Feature New feature proposals. label Mar 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API APIs related issues and PRs. Behat Issues and PRs aimed at improving Behat usage.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants