Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Enhancement A feature or feature request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants