Created
October 17, 2010 12:35
-
-
Save raphaeldealmeida/630807 to your computer and use it in GitHub Desktop.
Error PHPUnit on assertXpath/assertQuery
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
..PHP Fatal error: Uncaught exception 'UnexpectedValueException' with message 'Error at offset 9013 of 38834 bytes' in /usr/share/php/PHPUnit/Util/PHP.php:186 | |
Stack trace: | |
#0 /usr/share/php/PHPUnit/Util/PHP.php(186): unserialize('a:4:{s:10:"test...') | |
#1 /usr/share/php/PHPUnit/Util/PHP.php(161): PHPUnit_Util_PHP::processChildResult(Object(JobsControllerTest), Object(PHPUnit_Framework_TestResult), 'a:4:{s:10:"test...', '') | |
#2 /usr/share/php/PHPUnit/Framework/TestCase.php(605): PHPUnit_Util_PHP::runJob('<?php?set_inclu...', Object(JobsControllerTest), Object(PHPUnit_Framework_TestResult)) | |
#3 /usr/share/php/PHPUnit/Framework/TestSuite.php(751): PHPUnit_Framework_TestCase->run(Object(PHPUnit_Framework_TestResult)) | |
#4 /usr/share/php/PHPUnit/Framework/TestSuite.php(727): PHPUnit_Framework_TestSuite->runTest(Object(JobsControllerTest), Object(PHPUnit_Framework_TestResult)) | |
#5 /usr/share/php/PHPUnit/Framework/TestSuite.php(687): PHPUnit_Framework_TestSuite->run(Object(PHPUnit_Framework_TestResult), false, Array, Array, true) | |
#6 /usr/sha in /usr/share/php/PHPUnit/Util/PHP.php on line 186 | |
Falha de segmentação | |
#code tested | |
$this->assertXpath("//form//input[@type='text' and @name='job[title]']"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment