mirror of
https://github.com/CatimaLoyalty/Android.git
synced 2026-04-09 09:57:55 -04:00
Fix some merge issues
This commit is contained in:
@@ -12,11 +12,6 @@
|
||||
android:icon="@drawable/ic_share_white"
|
||||
android:title="@string/share"
|
||||
app:showAsAction="always"/>
|
||||
<item
|
||||
android:id="@+id/action_edit"
|
||||
android:icon="@drawable/ic_mode_edit_white_24dp"
|
||||
android:title="@string/edit"
|
||||
app:showAsAction="always"/>
|
||||
<item
|
||||
android:id="@+id/action_star_unstar"
|
||||
android:icon="@drawable/ic_unstarred_white"
|
||||
|
||||
@@ -489,11 +489,10 @@ public class LoyaltyCardViewActivityTest
|
||||
assertTrue(menu != null);
|
||||
|
||||
// The share, settings, add and star button should be present
|
||||
assertEquals(menu.size(), 4);
|
||||
assertEquals(menu.size(), 3);
|
||||
|
||||
assertEquals("Block Rotation", menu.findItem(R.id.action_lock_unlock).getTitle().toString());
|
||||
assertEquals("Share", menu.findItem(R.id.action_share).getTitle().toString());
|
||||
assertEquals("Edit", menu.findItem(R.id.action_edit).getTitle().toString());
|
||||
assertEquals("Add to favorites", menu.findItem(R.id.action_star_unstar).getTitle().toString());
|
||||
}
|
||||
|
||||
@@ -708,8 +707,8 @@ public class LoyaltyCardViewActivityTest
|
||||
final Menu menu = shadowOf(activity).getOptionsMenu();
|
||||
assertTrue(menu != null);
|
||||
|
||||
// The share, settings, add and star button should be present
|
||||
assertEquals(menu.size(), 4);
|
||||
// The share, settings and star button should be present
|
||||
assertEquals(menu.size(), 3);
|
||||
|
||||
assertEquals("Add to favorites", menu.findItem(R.id.action_star_unstar).getTitle().toString());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user