diff --git a/WordPress/src/main/java/org/wordpress/android/ui/deeplinks/handlers/DeepLinkHandlers.kt b/WordPress/src/main/java/org/wordpress/android/ui/deeplinks/handlers/DeepLinkHandlers.kt index c089152827a4..3f7313f563c3 100644 --- a/WordPress/src/main/java/org/wordpress/android/ui/deeplinks/handlers/DeepLinkHandlers.kt +++ b/WordPress/src/main/java/org/wordpress/android/ui/deeplinks/handlers/DeepLinkHandlers.kt @@ -20,6 +20,7 @@ class DeepLinkHandlers mediaLinkHandler: MediaLinkHandler, domainManagementLinkHandler: DomainManagementLinkHandler, qrCodeMediaLinkHandler: QRCodeMediaLinkHandler, + siteMonitorLinkHandler: SiteMonitorLinkHandler ) { private val handlers = listOf( editorLinkHandler, @@ -33,6 +34,7 @@ class DeepLinkHandlers mediaLinkHandler, domainManagementLinkHandler, qrCodeMediaLinkHandler, + siteMonitorLinkHandler ) private val _toast by lazy { diff --git a/WordPress/src/test/java/org/wordpress/android/ui/deeplinks/handlers/DeepLinkHandlersTest.kt b/WordPress/src/test/java/org/wordpress/android/ui/deeplinks/handlers/DeepLinkHandlersTest.kt index 224de052cc95..c8aaff5ea24d 100644 --- a/WordPress/src/test/java/org/wordpress/android/ui/deeplinks/handlers/DeepLinkHandlersTest.kt +++ b/WordPress/src/test/java/org/wordpress/android/ui/deeplinks/handlers/DeepLinkHandlersTest.kt @@ -48,6 +48,9 @@ class DeepLinkHandlersTest : BaseUnitTest() { @Mock lateinit var qrCodeMediaLinkHandler: QRCodeMediaLinkHandler + @Mock + lateinit var siteMonitorLinkHandler: SiteMonitorLinkHandler + @Mock lateinit var uri: UriWrapper private lateinit var deepLinkHandlers: DeepLinkHandlers @@ -67,6 +70,7 @@ class DeepLinkHandlersTest : BaseUnitTest() { mediaLinkHandler, domainManagementLinkHandler, qrCodeMediaLinkHandler, + siteMonitorLinkHandler ) initDeepLinkHandlers() } @@ -84,6 +88,7 @@ class DeepLinkHandlersTest : BaseUnitTest() { mediaLinkHandler, domainManagementLinkHandler, qrCodeMediaLinkHandler, + siteMonitorLinkHandler ) }