Skip to content

Commit 6c58bb3

Browse files
committed
Replaces source package with mock value with constant
1 parent 6c4ba7e commit 6c58bb3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

WordPress/src/test/java/org/wordpress/android/ui/ActivityLauncherWrapperTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ class ActivityLauncherWrapperTest {
6868
val packageManager = mock<PackageManager>()
6969
whenever(activity.packageManager).thenReturn(packageManager)
7070
whenever(activity.application).thenReturn(application)
71-
whenever(application.packageName).thenReturn("org.wordpress.android")
71+
whenever(application.packageName).thenReturn(SOURCE_PACKAGE)
7272

7373
if (isInstalled) {
7474
whenever(packageManager.getLaunchIntentForPackage(any())).thenReturn(mock())

0 commit comments

Comments
 (0)