com phpruntests: fixing test to provide argument to -z: tests/configuration/preconditions/rtIfParallelHasPcntlTest.php

From: Date: Sat, 27 Jun 2009 13:23:17 +0000
Subject: com phpruntests: fixing test to provide argument to -z: tests/configuration/preconditions/rtIfParallelHasPcntlTest.php
Groups: php.qa 
Request: Send a blank email to php-qa+get-66400@lists.php.net to get a copy of this message
Commit: e33709b355bf4b2dc00765ded4d796424f0b6eea Author: Zoe Slattery <zoe@php.net> Sat, 27 Jun 2009 13:23:17 +0000 Parents: 7198476ba72ed738444d7eed96d8c3e14126d4c7 Branches: master Link: http://git.php.net/?p=phpruntests.git;a=commitdiff;h=e33709b355bf4b2dc00765ded4d796424f0b6eea Log: fixing test to provide argument to -z Changed paths: M tests/configuration/preconditions/rtIfParallelHasPcntlTest.php Diff: diff --git a/tests/configuration/preconditions/rtIfParallelHasPcntlTest.php b/tests/configuration/preconditions/rtIfParallelHasPcntlTest.php index 4732013..c42243b 100644 --- a/tests/configuration/preconditions/rtIfParallelHasPcntlTest.php +++ b/tests/configuration/preconditions/rtIfParallelHasPcntlTest.php @@ -43,7 +43,7 @@ class rtIfParallelHasPcntlTest extends PHPUnit_Framework_TestCase */ public function testCheckWhenCommandLineOptionIsSet() { - $runtestsConfiguration = rtRuntestsConfiguration::getInstance(array('run-tests.php', '-z')); + $runtestsConfiguration = rtRuntestsConfiguration::getInstance(array('run-tests.php', '-z', '1')); $this->assertEquals(extension_loaded('pcntl'), $this->preCondition->check($runtestsConfiguration)); }

« previous php.qa (#66400) next »