Skip to content

Commit

Permalink
Updated failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
qaziabubakar committed Feb 3, 2021
1 parent 5353fc0 commit 5a7c34e
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -573,9 +573,7 @@ public void testShowInformationDialogShouldShowCustomDialog() {
public void testShowInformationDialogShouldShowDynamicDialog() {
View view = new View(RuntimeEnvironment.application);
try {
view.setTag(R.id.dynamic_label_text_list, new JSONArray("[\"1- Label Text\",\"2- Label Test\"]"));
view.setTag(R.id.dynamic_label_title_list, new JSONArray("[\"1- Label Title\",\"2- Label Title\"]"));
view.setTag(R.id.dynamic_label_image_src_list, new JSONArray("[\"img/src.png\",\"img/src.png\"]"));
view.setTag(R.id.dynamic_label_info, new JSONArray("[{\"dynamic_label_title\": \"1\",\"dynamic_label_text\": \"1- A maximum of up to 3 weekly doses may be required.\",\"dynamic_label_image_src\":\"img/first_img.png\"}]"));
} catch (JSONException e) {
e.printStackTrace();
}
Expand Down

0 comments on commit 5a7c34e

Please sign in to comment.