Page MenuHomePhabricator

PhabricatorPhortuneTestCase::testNewPhortuneAccount
Failed

Referenced Files
None

TEST RESULT

Run At
Apr 26 2019, 3:51 AM
Details
EXCEPTION (RuntimeException): Argument 1 passed to PhabricatorCustomField::getObjectFields() must implement interface PhabricatorCustomFieldInterface, instance of PhortuneAccount given, called in /core/data/drydock/workingcopy-91/repo/phabricator/src/applications/transactions/editor/PhabricatorApplicationTransactionEditor.php on line 2564 and defined #0 /core/data/drydock/workingcopy-91/repo/phabricator/src/infrastructure/customfield/field/PhabricatorCustomField.php(48): PhutilErrorHandler::handleError(4096, 'Argument 1 pass...', '/core/data/dryd...', 48, Array) #1 /core/data/drydock/workingcopy-91/repo/phabricator/src/applications/transactions/editor/PhabricatorApplicationTransactionEditor.php(2564): PhabricatorCustomField::getObjectFields(Object(PhortuneAccount), 'edit') #2 /core/data/drydock/workingcopy-91/repo/phabricator/src/applications/phortune/editor/PhortuneAccountEditor.php(29): PhabricatorApplicationTransactionEditor->validateTransaction(Object(PhortuneAccount), 'core:edge', Array) #3 /core/data/drydock/workingcopy-91/repo/phabricator/src/applications/transactions/editor/PhabricatorApplicationTransactionEditor.php(1008): PhortuneAccountEditor->validateTransaction(Object(PhortuneAccount), 'core:edge', Array) #4 /core/data/drydock/workingcopy-91/repo/phabricator/src/applications/phortune/storage/PhortuneAccount.php(55): PhabricatorApplicationTransactionEditor->applyTransactions(Object(PhortuneAccount), Array) #5 /core/data/drydock/workingcopy-91/repo/phabricator/src/applications/phortune/query/PhortuneAccountQuery.php(21): PhortuneAccount::createNewAccount(Object(PhabricatorUser), Object(PhabricatorUnitTestContentSource)) #6 /core/data/drydock/workingcopy-91/repo/phabricator/src/applications/phortune/__tests__/PhabricatorPhortuneTestCase.php(18): PhortuneAccountQuery::loadAccountsForUser(Object(PhabricatorUser), Object(PhabricatorUnitTestContentSource)) #7 [internal function]: PhabricatorPhortuneTestCase->testNewPhortuneAccount() #8 /core/data/drydock/workingcopy-91/repo/arcanist/src/unit/engine/phutil/PhutilTestCase.php(492): call_user_func_array(Array, Array) #9 /core/data/drydock/workingcopy-91/repo/arcanist/src/unit/engine/PhutilUnitTestEngine.php(69): PhutilTestCase->run() #10 /core/data/drydock/workingcopy-91/repo/arcanist/src/unit/engine/ArcanistConfigurationDrivenUnitTestEngine.php(148): PhutilUnitTestEngine->run() #11 /core/data/drydock/workingcopy-91/repo/arcanist/src/workflow/ArcanistUnitWorkflow.php(170): ArcanistConfigurationDrivenUnitTestEngine->run() #12 /core/data/drydock/workingcopy-91/repo/arcanist/scripts/arcanist.php(394): ArcanistUnitWorkflow->run() #13 {main}