Fix for Code

  1. Only testing:
  2. Loading tests/BasicLTITests.php...
  3. Loading tests/ConfigTests.php...
  4. Loading tests/FunctionalTests.php...
  5. Loading tests/GroupTests.php...
  6. Loading tests/MembershipTests.php...
  7. Loading tests/PersonTests.php...
  8. PHPUnit 3.4.15 by Sebastian Bergmann.
  9.  
  10. ........[INFO] Creating an account for mrbluesky... in FunctionalTests.php on 34
  11. [INFO]  in FunctionalTests.php on 245
  12. [ERROR] Could not parse response in FunctionalTests.php on 287
  13. #0 [internal function]: _tpi_error_handler(256, 'Could not parse...', '/Users/garrett/...', 287, Array)
  14. #1 /Users/garrett/Sites/go/drupal/sites/all/modules/libraries/adapters/tpi/tests/FunctionalTests.php(287): trigger_error('Could not parse...', 256)
  15. #2 /Users/garrett/Sites/go/drupal/sites/all/modules/libraries/adapters/tpi/tests/FunctionalTests.php(40): FunctionalTests::createPersonRequest(Array)
  16. #3 [internal function]: FunctionalTests->testProfile()
  17. #4 /opt/local/lib/php/PHPUnit/Framework/TestCase.php(844): ReflectionMethod->invokeArgs(Object(FunctionalTests), Array)
  18. #5 /opt/local/lib/php/PHPUnit/Framework/TestCase.php(723): PHPUnit_Framework_TestCase->runTest()
  19. #6 /opt/local/lib/php/PHPUnit/Framework/TestResult.php(686): PHPUnit_Framework_TestCase->runBare()
  20. #7 /opt/local/lib/php/PHPUnit/Framework/TestCase.php(666): PHPUnit_Framework_TestResult->run(Object(FunctionalTests))
  21. #8 /opt/local/lib/php/PHPUnit/Framework/TestSuite.php(763): PHPUnit_Framework_TestCase->run(Object(PHPUnit_Framework_TestResult))
  22. #9 /opt/local/lib/php/PHPUnit/Framework/TestSuite.php(739): PHPUnit_Framework_TestSuite->runTest(Object(FunctionalTests), Object(PHPUnit_Framework_TestResult))
  23. #10 /opt/local/lib/php/PHPUnit/Framework/TestSuite.php(698): PHPUnit_Framework_TestSuite->run(Object(PHPUnit_Framework_TestResult), false, Array, Array, false)
  24. #11 /opt/local/lib/php/PHPUnit/TextUI/TestRunner.php(349): PHPUnit_Framework_TestSuite->run(Object(PHPUnit_Framework_TestResult), false, Array, Array, false)
  25. #12 /opt/local/lib/php/PHPUnit/TextUI/TestRunner.php(120): PHPUnit_TextUI_TestRunner->doRun(Object(PHPUnit_Framework_TestSuite), Array)
  26. #13 /Users/garrett/Sites/go/drupal/sites/all/modules/libraries/adapters/tpi/tpi.module(603): PHPUnit_TextUI_TestRunner::run(Object(PHPUnit_Framework_TestSuite), Array)
  27. #14 {main}
  28. Fatal error: Call to a member function children() on a non-object in /Users/garrett/Sites/go/drupal/sites/all/modules/libraries/adapters/tpi/tests/FunctionalTests.php on line 289
  29.  
  30. Call Stack:
  31.     0.0023     911872   1. {main}() /Users/garrett/Sites/go/drupal/sites/all/modules/libraries/adapters/tpi/tpi.module:0
  32.     0.0900    8959344   2. PHPUnit_TextUI_TestRunner::run() /Users/garrett/Sites/go/drupal/sites/all/modules/libraries/adapters/tpi/tpi.module:603
  33.     0.0900    8960080   3. PHPUnit_TextUI_TestRunner->doRun() /opt/local/lib/php/PHPUnit/TextUI/TestRunner.php:120
  34.     0.0901    8972968   4. PHPUnit_Framework_TestSuite->run() /opt/local/lib/php/PHPUnit/TextUI/TestRunner.php:349
  35.     0.1131   10755928   5. PHPUnit_Framework_TestSuite->run() /opt/local/lib/php/PHPUnit/Framework/TestSuite.php:698
  36.     0.1131   10756560   6. PHPUnit_Framework_TestSuite->runTest() /opt/local/lib/php/PHPUnit/Framework/TestSuite.php:739
  37.     0.1131   10756560   7. PHPUnit_Framework_TestCase->run() /opt/local/lib/php/PHPUnit/Framework/TestSuite.php:763
  38.     0.1132   10756560   8. PHPUnit_Framework_TestResult->run() /opt/local/lib/php/PHPUnit/Framework/TestCase.php:666
  39.     0.1133   10757232   9. PHPUnit_Framework_TestCase->runBare() /opt/local/lib/php/PHPUnit/Framework/TestResult.php:686
  40.     0.1140   10797552  10. PHPUnit_Framework_TestCase->runTest() /opt/local/lib/php/PHPUnit/Framework/TestCase.php:723
  41.     0.1141   10799608  11. ReflectionMethod->invokeArgs() /opt/local/lib/php/PHPUnit/Framework/TestCase.php:844
  42.     0.1141   10799664  12. FunctionalTests->testProfile() /Users/garrett/Sites/go/drupal/sites/all/modules/libraries/adapters/tpi/tests/FunctionalTests.php:0
  43.     0.1141   10801208  13. FunctionalTests::createPersonRequest() /Users/garrett/Sites/go/drupal/sites/all/modules/libraries/adapters/tpi/tests/FunctionalTests.php:40

Submit Fix

Any tags you'd like to associate with your code, delimitered by commas (example: Views, CCK, Module, etc).
Select the syntax highlighting mode to use.