Closed (fixed)
Project:
SimpleTest
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Mar 2009 at 12:34 UTC
Updated:
14 Apr 2009 at 22:50 UTC
Particularities of my setup:
Drupal-install: Freshly installed from DRUPAL-6
OS: Linux (Gentoo)
Web-server: Apache 2.2.10
PHP: 5.2.8-pl2-gentoo with Suhosin-Patch 0.9.6.3
Database: PostgreSQL 8.3
I'm accessing the site as https://localhost/drupal6/ (note SSL and subdirectory as base path).
Errors from SimpleTest:
100 passes, 11 fails, and 0 exceptions
Meddelelse Group Filename Line Function Status Cannot access install.php with a "simpletest" user-agent header. Browser simpletest.test 61 SimpleTestFunctionalTest->testInternalBrowser() Found assertion {"SimpleTest pass.", "Other", "Pass", "simpletest.test", "SimpleTestFunctionalTest->stubTest()"}. Other simpletest.test 143 SimpleTestFunctionalTest->confirmStubTestResults() Found assertion {"SimpleTest fail.", "Other", "Fail", "simpletest.test", "SimpleTestFunctionalTest->stubTest()"}. Other simpletest.test 144 SimpleTestFunctionalTest->confirmStubTestResults() Found assertion {"Created permissions: access content", "Role", "Pass", "simpletest.test", "SimpleTestFunctionalTest->stubTest()"}. Other simpletest.test 146 SimpleTestFunctionalTest->confirmStubTestResults() Found assertion {"Invalid permission invalid permission.", "Role", "Fail", "simpletest.test", "SimpleTestFunctionalTest->stubTest()"}. Other simpletest.test 147 SimpleTestFunctionalTest->confirmStubTestResults() Found assertion {"This is nothing.", "Other", "Pass", "simpletest.test", "SimpleTestFunctionalTest->stubTest()"}. Other simpletest.test 153 SimpleTestFunctionalTest->confirmStubTestResults() Found assertion {"SimpleTest pass.", "Other", "Pass", "simpletest.test", "SimpleTestFunctionalTest->stubTest()"}. Other simpletest.test 143 SimpleTestFunctionalTest->confirmStubTestResults() Found assertion {"SimpleTest fail.", "Other", "Fail", "simpletest.test", "SimpleTestFunctionalTest->stubTest()"}. Other simpletest.test 144 SimpleTestFunctionalTest->confirmStubTestResults() Found assertion {"Created permissions: access content", "Role", "Pass", "simpletest.test", "SimpleTestFunctionalTest->stubTest()"}. Other simpletest.test 146 SimpleTestFunctionalTest->confirmStubTestResults() Found assertion {"Invalid permission invalid permission.", "Role", "Fail", "simpletest.test", "SimpleTestFunctionalTest->stubTest()"}. Other simpletest.test 147 SimpleTestFunctionalTest->confirmStubTestResults() Found assertion {"This is nothing.", "Other", "Pass", "simpletest.test", "SimpleTestFunctionalTest->stubTest()"}. Other simpletest.test 153 SimpleTestFunctionalTest->confirmStubTestResults()
Comments
Comment #1
boombatower commentedI get the same ones and have known about this. When I first backported I looked into it, but got into other areas. The first error requires one of the optional bits of code mentioned in the INSTALL.txt. The otherones I'm assuming are due to some odd HTML or something that I never figured out.
If you want to look into this I would much appreciate it, otherwise it will have to wait till I get time.
Comment #2
wlp1979 commentedI was having the same issues. I took care of the first failure with the line of code rom INSTALL.txt. The others seemed to be an issue of incorrectly identifying the calling function. I was able to fix it by changing the following code in drupal_web_test_case.inc :
to look like this:
Comment #3
boombatower commentedThanks! That fixed the test.