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

Fixes #1087: Auto-discovery of multisite.name. #1119

Merged
merged 6 commits into from
Feb 22, 2017
Merged

Fixes #1087: Auto-discovery of multisite.name. #1119

merged 6 commits into from
Feb 22, 2017

Conversation

bobbygryzynger
Copy link
Contributor

Fixes #1087.

Changes proposed:

  • Create multisite.name list automatically if not provided by user.

@bobbygryzynger
Copy link
Contributor Author

I'm getting some slightly unexpected output here. It looks like the ACSF task adds an additional site. Should the expected value then be default,g?

@grasmash grasmash added the Enhancement A feature or feature request label Feb 21, 2017
@grasmash
Copy link
Contributor

@bobbygryzynger yeah that's right, acsf does add a "g' site.

@bobbygryzynger
Copy link
Contributor Author

No problem, this is passing now on travis with default,g as the expected value.

@@ -5,6 +5,7 @@
<php>
<const name="BLT_ENV" value="ci"/>
<const name="BLT_ALIAS" value="self"/>
<const name="BLT_MULTISITE_NAME" value="default,g"/>
Copy link
Contributor

Choose a reason for hiding this comment

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

Why is this defined as a constant in the phpunit.xml rather than just hardcoded in the test?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I thought it would be better, should this value change, that the test itself wouldn't need to be updated. Also, implementing projects would have an easier time overriding this should they wish to run the tests against their own configuration.

If you'd rather this be hardcoded, I'm fine with making that change, just let me know.

@grasmash grasmash merged commit a220e86 into acquia:8.x Feb 22, 2017
@danepowell
Copy link
Contributor

Woot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement A feature or feature request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants