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

Add subdom and subdir tests #74

Merged
merged 6 commits into from Jul 23, 2018

Conversation

kirtangajjar
Copy link
Contributor

Signed-off-by: Kirtan Gajjar kirtangajjar95@gmail.com

Signed-off-by: Kirtan Gajjar <kirtangajjar95@gmail.com>
Signed-off-by: Kirtan Gajjar <kirtangajjar95@gmail.com>
Signed-off-by: Kirtan Gajjar <kirtangajjar95@gmail.com>
*/
public function theSiteShouldBeMultisite( $site, $type )
{
$php_container = implode( explode( '.', $site ) ) . '_php_1';
Copy link
Member

Choose a reason for hiding this comment

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

Instead of evaluating the name of the container and doing docker exec, changing directory to the site root and then doing docker-compose exec could be better and less error-prone.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yup. Good idea!

{
$this->commands = [];
}

/**
* @AfterFeature
*/
Copy link
Member

@mrrobot47 mrrobot47 Jul 16, 2018

Choose a reason for hiding this comment

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

Add the sites of this feature in cleanup.

wp.test
wpsubdir.test
wpsubdom.test

need to be added in cleanup on completion.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes. Didn't add it before as updated cleanup function was in another PR(which was yet to be merged)

@kirtangajjar kirtangajjar force-pushed the add_more_tests branch 3 times, most recently from fdf8abc to de01976 Compare July 16, 2018 11:21
Signed-off-by: Kirtan Gajjar <kirtangajjar95@gmail.com>
Signed-off-by: Kirtan Gajjar <kirtangajjar95@gmail.com>
@mbtamuli mbtamuli merged commit 0922f40 into EasyEngine:develop Jul 23, 2018
@kirtangajjar kirtangajjar deleted the add_more_tests branch September 6, 2018 08:18
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.

None yet

3 participants