CuBoulder / express

Express installation profile
GNU General Public License v2.0
20 stars 7 forks source link

Move Testing Code To Own Bundle #3265

Closed alexfinnarn closed 5 years ago

alexfinnarn commented 5 years ago

In https://github.com/CuBoulder/express/issues/3064, I created a test module to help with Behat testing for the added code. There are other modules like cu_behat_tests and cu_local_users that can be moved to a separate bundle.

Then, the bundle can be added in https://github.com/CuBoulder/express/blob/dev/tests/travis-ci/install.sh#L24 like in https://github.com/CuBoulder/cu_digital_campaign_bundle/blob/master/.travis.yml#L50.

The main reason for doing this would be to reduce potential attack vectors. travis_hosting or local_hosting would still enable those modules, but no Express sites in production would have the code to create dummy users on them.

Not a big deal, just a thought as I take my exit.