Changeset - 92011aae7258
22
2
25
MAR-128: Upgraded tests for php_website role:
- Switch to new Molecule configuration.
- Updated set-up playbook to use become: yes.
- Moved some preparatory steps outside of the main playbook (eases
idempotence tests).
- Updated tests to reference the yml inventory file.
- Updated tests to use new fixture (host instead of individual ones).
- Switched to extracting hostname instead of hard-coding it in a
couple of tests.
- Fixed some linting issues.
- Updated hostname to include Debian version.
- Switch to new Molecule configuration.
- Updated set-up playbook to use become: yes.
- Moved some preparatory steps outside of the main playbook (eases
idempotence tests).
- Updated tests to reference the yml inventory file.
- Updated tests to use new fixture (host instead of individual ones).
- Switched to extracting hostname instead of hard-coding it in a
couple of tests.
- Fixed some linting issues.
- Updated hostname to include Debian version.
28 files changed with 288 insertions and 172 deletions:
0 comments (0 inline, 0 general)
file renamed from roles/php_website/tests/data/php/mandatory/index.php to roles/php_website/molecule/default/tests/data/php/mandatory/index.php |
file renamed from roles/php_website/tests/data/php/mandatory/index.php3 to roles/php_website/molecule/default/tests/data/php/mandatory/index.php3 |
file renamed from roles/php_website/tests/data/php/optional/404.myphp to roles/php_website/molecule/default/tests/data/php/optional/404.myphp |
file renamed from roles/php_website/tests/data/php/optional/info.myphp to roles/php_website/molecule/default/tests/data/php/optional/info.myphp |
file renamed from roles/php_website/tests/data/php/optional/myindex.myphp to roles/php_website/molecule/default/tests/data/php/optional/myindex.myphp |
file renamed from roles/php_website/tests/data/php/optional/myindex.php to roles/php_website/molecule/default/tests/data/php/optional/myindex.php |
file renamed from roles/php_website/tests/data/php/optional/path.myphp to roles/php_website/molecule/default/tests/data/php/optional/path.myphp |
file renamed from roles/php_website/tests/data/php/optional/rewrite.myphp to roles/php_website/molecule/default/tests/data/php/optional/rewrite.myphp |
file renamed from roles/php_website/tests/data/php/optional/secretfile.txt to roles/php_website/molecule/default/tests/data/php/optional/secretfile.txt |
file renamed from roles/php_website/tests/data/x509/ca.cert.pem to roles/php_website/molecule/default/tests/data/x509/ca.cert.pem |
file renamed from roles/php_website/tests/data/x509/ca.key.pem to roles/php_website/molecule/default/tests/data/x509/ca.key.pem |
roles/php_website/molecule/default/tests/data/x509/parameters-mandatory_https.key
Show inline comments
file renamed from roles/php_website/tests/data/x509/parameters-mandatory_https.key to roles/php_website/molecule/default/tests/data/x509/parameters-mandatory_https.key |
roles/php_website/molecule/default/tests/data/x509/parameters-mandatory_https.pem
Show inline comments
file renamed from roles/php_website/tests/data/x509/parameters-mandatory_https.pem to roles/php_website/molecule/default/tests/data/x509/parameters-mandatory_https.pem |
roles/php_website/molecule/default/tests/data/x509/parameters-optional.local_https.cert.pem
Show inline comments
file renamed from roles/php_website/tests/data/x509/parameters-optional.local_https.cert.pem to roles/php_website/molecule/default/tests/data/x509/parameters-optional.local_https.cert.pem |
roles/php_website/molecule/default/tests/data/x509/parameters-optional.local_https.key.pem
Show inline comments
file renamed from roles/php_website/tests/data/x509/parameters-optional.local_https.key.pem to roles/php_website/molecule/default/tests/data/x509/parameters-optional.local_https.key.pem |
roles/php_website/molecule/default/tests/data/x509/php-website_https.cert.pem
Show inline comments
file renamed from roles/php_website/tests/data/x509/php-website_https.cert.pem to roles/php_website/molecule/default/tests/data/x509/php-website_https.cert.pem |
file renamed from roles/php_website/tests/data/x509/php-website_https.key.pem to roles/php_website/molecule/default/tests/data/x509/php-website_https.key.pem |
0 comments (0 inline, 0 general)