From 88718e714851ab7e777ef23e735fe163de21ab01 Mon Sep 17 00:00:00 2001 From: Seamus Lee Date: Wed, 10 Nov 2021 23:40:37 +0000 Subject: [PATCH] [NFC] Additional Fix on UserDashBoard Tests to assign action value to dashboard --- 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 3e6298b846..ad602fd6d8 100644 --- a/tests/phpunit/CRM/Contact/Page/View/UserDashBoardTest.php +++ b/tests/phpunit/CRM/Contact/Page/View/UserDashBoardTest.php @@ -197,6 +197,7 @@ class CRM_Contact_Page_View_UserDashBoardTest extends CiviUnitTestCase { $dashboard = new CRM_Contact_Page_View_UserDashBoard(); $dashboard->_contactId = $this->contactID; $dashboard->assign('formTpl', NULL); + $dashboard->assign('action', CRM_Core_Action::VIEW); $dashboard->run(); $_REQUEST = []; } -- 2.25.1