Skip to content

Commit

Permalink
Fixing broken tests that were referring to non-existing fragment ids.
Browse files Browse the repository at this point in the history
  • Loading branch information
Margaret Z Maynard-Reid & Robert Wallis committed Feb 5, 2016
1 parent ee50c07 commit 1703bf8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public UserDetailsActivityTest() {

public void testContainsUserDetailsFragment() {
Fragment userDetailsFragment =
userDetailsActivity.getFragmentManager().findFragmentById(R.id.fl_fragment);
userDetailsActivity.getFragmentManager().findFragmentById(R.id.fragmentContainer);
assertThat(userDetailsFragment, is(notNullValue()));
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public UserListActivityTest() {

public void testContainsUserListFragment() {
Fragment userListFragment =
userListActivity.getFragmentManager().findFragmentById(R.id.fragmentUserList);
userListActivity.getFragmentManager().findFragmentById(R.id.fragmentContainer);
assertThat(userListFragment, is(notNullValue()));
}

Expand Down

0 comments on commit 1703bf8

Please sign in to comment.