Commit 8dda4776 authored by nimrod's avatar nimrod
Browse files

- Added a php.ini validity test.

parent 9e39ed54
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -13,3 +13,11 @@ def test_composer(Command):

def test_pear(Command):
    assert Command('pear version').stdout.startswith('PEAR Version')


def test_php_ini(Command):
    command = Command('php5 --info')
    assert command.rc == 0
    assert 'PHP Version => 5' in command.stdout
    assert 'syntax error' not in command.stdout
    assert 'syntax error' not in command.stderr