From 6e492a9cb49d33f1183302b78a393ad9fc75443d Mon Sep 17 00:00:00 2001 From: demeritcowboy Date: Wed, 10 Nov 2021 10:28:12 -0500 Subject: [PATCH] assign formTpl --- tests/phpunit/CRM/Contact/Page/View/UserDashBoardTest.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/phpunit/CRM/Contact/Page/View/UserDashBoardTest.php b/tests/phpunit/CRM/Contact/Page/View/UserDashBoardTest.php index fab96c7ce0..3e6298b846 100644 --- a/tests/phpunit/CRM/Contact/Page/View/UserDashBoardTest.php +++ b/tests/phpunit/CRM/Contact/Page/View/UserDashBoardTest.php @@ -196,6 +196,7 @@ class CRM_Contact_Page_View_UserDashBoardTest extends CiviUnitTestCase { $_REQUEST = ['reset' => 1, 'id' => $this->contactID]; $dashboard = new CRM_Contact_Page_View_UserDashBoard(); $dashboard->_contactId = $this->contactID; + $dashboard->assign('formTpl', NULL); $dashboard->run(); $_REQUEST = []; } -- 2.25.1