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] Add BasicContent, ContentType, Field, Role and User Contexts #1654

Merged
merged 3 commits into from
Jul 5, 2016

Conversation

miguelcleverti
Copy link

In order to deprecate BehatBundle repository some Contexts will be moved into the kernel.

Making the Contexts classes and not traits (as some of them still are in BehatBundle) should improve the overall flexibility and maintainability of the code.

One if the main objectives is to use this Contexts with other Bundles BDD, such as PlatformUI, running each behat suite with the various needed Contexts instead of one with everything.

PS: this PR contains a lot of code but it has already been reviewed before, the code was just moved basically.

@@ -0,0 +1,209 @@
<?php
/**
* This file is part of the BehatBundle package.
Copy link
Member

@bdunogier bdunogier Jun 7, 2016

Choose a reason for hiding this comment

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

Needs to be updated.

@miguelcleverti miguelcleverti force-pushed the BehatContexts branch 2 times, most recently from 17cca31 to 0835212 Compare June 8, 2016 09:03
* @param array $fields
* @param mixed $contentType The content type identifier
*
* @return mixed|string
Copy link
Member

Choose a reason for hiding this comment

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

What is the returned value exactly ?

@miguelcleverti
Copy link
Author

@bdunogier I made some changes like you suggested.
If everything is okay than we can, maybe, merge this.

@bdunogier
Copy link
Member

+1

@bdunogier bdunogier merged commit 1643157 into ezsystems:master Jul 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants