UnionOfRAD/lithium — Issue #334: CrudTest::testUpdateWithNewProperties #fail #test
Author: agborkowski
Created: 2012-02-15 08:16:05+00:00
State: open

lithium\tests\integration\data\CrudTest

36 / 37 pass, 1 fail	and 1 exception

Exception thrown in lithium\tests\integration\data\CrudTest::testUpdateWithNewProperties() on line 140
Trying to get property of non-object

Trace
lithium\test\{closure} @ ?, line 710
lithium\util\collection\Filters::next(), line 202
lithium\test\{closure} @ ?, line 35
lithium\util\collection\Filters::run(), line 183
lithium\core\Object::_filter(), line 243
lithium\test\Unit::_runTestMethod(), line 714
lithium\test\Unit::run(), line 186
lithium\util\Collection::invoke(), line 203
lithium\util\Collection::__call(), line 217
lithium\util\Collection::run(), line 142
lithium\test\Report::run(), line 142
lithium\test\Dispatcher::run()::{closure} @ 62, line 66
lithium\core\StaticObject::_filter(), line 119
lithium\test\Dispatcher::run(), line 70
lithium\test\Controller::__invoke()::{closure} @ 38, line 49
lithium\core\Object::_filter(), line 238
lithium\test\Controller::__invoke(), line 59
lithium\action\{closure} @ ?, line 222
lithium\core\StaticObject::_filter(), line 119
lithium\action\Dispatcher::_call(), line 225
lithium\core\StaticObject::invokeMethod(), line 75
lithium\action\Dispatcher::run()::{closure} @ 109, line 122
lithium\util\collection\Filters::next(), line 202
lithium\core\ErrorHandler::apply()::{closure} @ 287, line 289
lithium\util\collection\Filters::next(), line 202
/Users/nim/Sites/holicon/pwi2/app/config/bootstrap/cache.php::{closure} @ 49, line 56
lithium\util\collection\Filters::next(), line 202
/Users/nim/Sites/holicon/pwi2/app/config/bootstrap/action.php::{closure} @ 43, line 59
lithium\util\collection\Filters::next(), line 202
/Users/nim/Sites/holicon/pwi2/app/config/bootstrap/libraries.php::{closure} @ 131, line 138
lithium\util\collection\Filters::run(), line 183
lithium\core\StaticObject::_filter(), line 126
lithium\action\Dispatcher::run(), line 123
[main], line 41

Assertion 'assertEqual' failed in lithium\tests\integration\data\CrudTest::testUpdateWithNewProperties() on line 141:
expected: '(string) bar'
result: '(NULL)'