com phpruntests: Possible fixes to Georg's problems: tests/testcase/rtExpectHeadersExecutionTest.php tests/testcase/rtGetExecutionTest.php
| From: | David Soria Parra | Date: | Fri, 15 May 2009 06:58:30 +0000 |
| Subject: | com phpruntests: Possible fixes to Georg's problems: tests/testcase/rtExpectHeadersExecutionTest.php tests/testcase/rtGetExecutionTest.php | ||
| Groups: | php.qa | ||
| Request: | Send a blank email to php-qa+get-66459@lists.php.net to get a copy of this message | ||
Commit: 40ee33d19fbf6218b853009511114544d06d39a2
Author: Zoe Slattery <zoe@php.net> Fri, 15 May 2009 06:58:30 +0000
Parents: eb909c4526662caec234ab466dd8f0af90783f0b
Branches: master
Link: http://git.php.net/?p=phpruntests.git;a=commitdiff;h=40ee33d19fbf6218b853009511114544d06d39a2
Log:
Possible fixes to Georg's problems
Changed paths:
M tests/testcase/rtExpectHeadersExecutionTest.php
M tests/testcase/rtGetExecutionTest.php
Diff:
diff --git a/tests/testcase/rtExpectHeadersExecutionTest.php
b/tests/testcase/rtExpectHeadersExecutionTest.php
index 04ebef4..3506f30 100644
--- a/tests/testcase/rtExpectHeadersExecutionTest.php
+++ b/tests/testcase/rtExpectHeadersExecutionTest.php
@@ -51,9 +51,7 @@ class rtExpectHeadersExecutionTest extends PHPUnit_Framework_TestCase
$this->assertEquals('', $status['pass']);
- $this->assertEquals(78, strlen($headers));
- $this->assertEquals(11, strlen($output));
-
+
}
public function testForFail()
diff --git a/tests/testcase/rtGetExecutionTest.php b/tests/testcase/rtGetExecutionTest.php
index 1f6c72c..5aee10c 100644
--- a/tests/testcase/rtGetExecutionTest.php
+++ b/tests/testcase/rtGetExecutionTest.php
@@ -56,6 +56,7 @@ class rtGetExecutionTest extends PHPUnit_Framework_TestCase
{
//Create a new test configuration
$config = rtRuntestsConfiguration::getInstance(array('run-tests.php',
'-p', $this->php, $this->sample_test));
+ $config->setEnvironmentVariable('TEST_PHP_CGI_EXECUTABLE', null);
$config->configure();
//Retrieve the array of test file names