Skip to content
Snippets Groups Projects
Commit 8e1ac765 authored by nimrod's avatar nimrod
Browse files

- Use the symlink generated in tests.

parent d0fe95ff
No related branches found
No related tags found
No related merge requests found
...@@ -4,7 +4,7 @@ testinfra_hosts = AnsibleRunner('.molecule/ansible_inventory').get_hosts('all') ...@@ -4,7 +4,7 @@ testinfra_hosts = AnsibleRunner('.molecule/ansible_inventory').get_hosts('all')
def test_php7(Command): def test_php7(Command):
assert Command('php7 --version').stdout.startswith('PHP 7') assert Command('php7.0 --version').stdout.startswith('PHP 7')
def test_composer(Command): def test_composer(Command):
...@@ -16,7 +16,7 @@ def test_pear(Command): ...@@ -16,7 +16,7 @@ def test_pear(Command):
def test_php_ini(Command): def test_php_ini(Command):
command = Command('php7 --info') command = Command('php7.0 --info')
assert command.rc == 0 assert command.rc == 0
assert 'PHP Version => 7' in command.stdout assert 'PHP Version => 7' in command.stdout
assert 'syntax error' not in command.stdout assert 'syntax error' not in command.stdout
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment