From 8e1ac76563752b47ce6ae58eee35f3e31bfeabdd Mon Sep 17 00:00:00 2001 From: Adar Nimrod <nimrod@shore.co.il> Date: Thu, 6 Jul 2017 18:13:20 +0300 Subject: [PATCH] - Use the symlink generated in tests. --- tests/test_php7.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_php7.py b/tests/test_php7.py index 15d3302..388b881 100644 --- a/tests/test_php7.py +++ b/tests/test_php7.py @@ -4,7 +4,7 @@ testinfra_hosts = AnsibleRunner('.molecule/ansible_inventory').get_hosts('all') 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): @@ -16,7 +16,7 @@ def test_pear(Command): def test_php_ini(Command): - command = Command('php7 --info') + command = Command('php7.0 --info') assert command.rc == 0 assert 'PHP Version => 7' in command.stdout assert 'syntax error' not in command.stdout -- GitLab