You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ea...@apache.org on 2020/07/28 15:20:40 UTC

[qpid-dispatch] branch master updated: DISPATCH-1729: Updated console tests to pass in requeired properties

This is an automated email from the ASF dual-hosted git repository.

eallen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/qpid-dispatch.git


The following commit(s) were added to refs/heads/master by this push:
     new 328ace1  DISPATCH-1729: Updated console tests to pass in requeired properties
328ace1 is described below

commit 328ace195a740b4e2937402e244e8167def5f595
Author: Ernest Allen <ea...@redhat.com>
AuthorDate: Tue Jul 28 11:20:26 2020 -0400

    DISPATCH-1729: Updated console tests to pass in requeired properties
---
 console/react/src/common/DropdownMenu.test.js   | 2 ++
 console/react/src/overview/overviewPage.test.js | 3 ++-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/console/react/src/common/DropdownMenu.test.js b/console/react/src/common/DropdownMenu.test.js
index 29b8940..c91c3f0 100644
--- a/console/react/src/common/DropdownMenu.test.js
+++ b/console/react/src/common/DropdownMenu.test.js
@@ -35,6 +35,8 @@ it("the dropdown menu component renders and calls event handlers", () => {
       parentClass=""
       handleDropdownLogout={handleDropdownLogout}
       handleContextHide={() => {}}
+      handleSuppress={() => {}}
+      suppress={false}
     />
   );
   menuRef.show(true);
diff --git a/console/react/src/overview/overviewPage.test.js b/console/react/src/overview/overviewPage.test.js
index 9b71fba..8c2c5a4 100644
--- a/console/react/src/overview/overviewPage.test.js
+++ b/console/react/src/overview/overviewPage.test.js
@@ -75,7 +75,8 @@ it("renders the overview connections page", () => {
   const props = {
     service,
     location: { pathname: `/overview/${entity}` },
-    lastUpdated: () => {}
+    lastUpdated: () => {},
+    handleAddNotification: () => {}
   };
 
   login(() => {


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org