Skip to content

Instantly share code, notes, and snippets.

@farrelley
Created September 18, 2012 15:55
Show Gist options
  • Save farrelley/3743889 to your computer and use it in GitHub Desktop.
Save farrelley/3743889 to your computer and use it in GitHub Desktop.
1) ApplicationAdmin_Integration_Domain_ImportTest::testCourseImporterSuccessfullyCreatesCfpCourseFromSchweserDataSource
Exception: array_fill(): Number of elements must be positive
#0 [internal function]: PHPUnit_Util_ErrorHandler::handleError(2, 'array_fill(): N...', '/home/sfarrell/...', 116, Array)
#1 /home/sfarrell/sandboxes/core/code/applicationLms/classes/dao/test.php(116): array_fill(0, 0, '?')
#2 /home/sfarrell/sandboxes/core/code/applicationAdmin/classes/domain/content/test.php(30): Dao_Test->getQuestionDataByQuestionAssignmentIds(Array)
#3 /home/sfarrell/sandboxes/core/code/tests/integration/applicationAdmin/classes/domain/importTest.php(412): Admin_Domain_Content_Test->getHash()
#4 [internal function]: ApplicationAdmin_Integration_Domain_ImportTest->testCourseImporterSuccessfullyCreatesCfpCourseFromSchweserDataSource()
#5 /home/sfarrell/sandboxes/core/code/utilities/PHPUnit/PHPUnit/Framework/TestCase.php(927): ReflectionMethod->invokeArgs(Object(ApplicationAdmin_Integration_Domain_ImportTest), Array)
#6 /home/sfarrell/sandboxes/core/code/utilities/PHPUnit/PHPUnit/Framework/TestCase.php(789): PHPUnit_Framework_TestCase->runTest()
#7 /home/sfarrell/sandboxes/core/code/utilities/PHPUnit/PHPUnit/Framework/TestResult.php(649): PHPUnit_Framework_TestCase->runBare()
#8 /home/sfarrell/sandboxes/core/code/utilities/PHPUnit/PHPUnit/Framework/TestCase.php(736): PHPUnit_Framework_TestResult->run(Object(ApplicationAdmin_Integration_Domain_ImportTest))
#9 -(32): PHPUnit_Framework_TestCase->run(Object(Common_Base_TestResult))
#10 -(155): __phpunit_run_isolated_test()
#11 {main}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment