-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #44 from openpharma/jt-35-site_edge_case
Properly handle zero regions selected in review configuration
- Loading branch information
Showing
11 changed files
with
63 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
Package: clinsight | ||
Title: ClinSight | ||
Version: 0.0.0.9005 | ||
Version: 0.0.0.9006 | ||
Authors@R: c( | ||
person("Leonard Daniël", "Samson", , "[email protected]", role = c("cre", "aut")), | ||
person("GCP-Service International Ltd.& Co. KG", role = "fnd") | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 3 additions & 6 deletions
9
tests/testthat/_snaps/mod_review_config/mod_review_config-002.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,11 @@ | ||
{ | ||
"input": { | ||
"test-config_review": 1, | ||
"test-region_selection": "DEU", | ||
"test-region_selection": null, | ||
"test-save_review_config": 0, | ||
"test-site_selection": [ | ||
"Site 01", | ||
"Site 02" | ||
] | ||
"test-site_selection": null | ||
}, | ||
"output": { | ||
|
||
"test-review_config_feedback": "You must select at least one site/region to review." | ||
} | ||
} |
Binary file modified
BIN
-74 Bytes
(100%)
tests/testthat/_snaps/mod_review_config/mod_review_config-002_.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+9.78 KB
(170%)
tests/testthat/_snaps/mod_review_config/mod_review_config-003_.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions
21
tests/testthat/_snaps/mod_review_config/mod_review_config-004.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"input": { | ||
"test-config_review": 1, | ||
"test-region_selection": "DEU", | ||
"test-save_review_config": 2, | ||
"test-site_selection": [ | ||
"Site 01", | ||
"Site 02" | ||
] | ||
}, | ||
"output": { | ||
"test-review_config_feedback": { | ||
"message": "", | ||
"call": "NULL", | ||
"type": [ | ||
"shiny.silent.error", | ||
"validation" | ||
] | ||
} | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters