Skip to content

Commit 769adeb

Browse files
authored
Merge pull request #171 from WyriHaximusNet/dont-test-if-php-is-exposed-or-not-were-on-the-cli-we-dont-care-about-fpm
Don't test if PHP is exposed or not, we're on the CLI so we don't care about FPM
2 parents c3d5f9a + 846bae0 commit 769adeb

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

test/container/test_php_dev.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,10 @@ def test_configuration_is_present(host):
55
assert host.file('/usr/local/etc/php/conf.d/zzz_xdebug.ini').exists is True
66
assert host.file('/usr/local/etc/php/conf.d/zzz_dev.ini').exists is True
77

8-
@pytest.mark.php_dev
9-
def test_configuration_is_effective(host):
10-
configuration = host.run('php -i').stdout
11-
12-
assert u'expose_php => On => On' in configuration
13-
148
@pytest.mark.php_no_dev
159
def test_configuration_is_not_present(host):
1610
assert host.file('/usr/local/etc/php/conf.d/zzz_xdebug.ini').exists is False
1711
assert host.file('/usr/local/etc/php/conf.d/zzz_dev.ini').exists is False
18-
19-
@pytest.mark.php_no_dev
20-
def test_configuration_is_not_effective(host):
21-
configuration = host.run('php -i').stdout
22-
23-
assert u'expose_php => Off => Off' in configuration
2412

2513
@pytest.mark.php_dev
2614
def composer_is_functional(host):

0 commit comments

Comments
 (0)