There is a code path in api_randomize_patient that is not executed during testing: https://app.codecov.io/gh/ttscience/unbiased/pull/60/blob/R/api_randomize.R#L59
We should include test that will hit this code or, if this code is impossible to reach, we should remove it and replace it with simple assertion that will throw error
There is a code path in api_randomize_patient that is not executed during testing: https://app.codecov.io/gh/ttscience/unbiased/pull/60/blob/R/api_randomize.R#L59 We should include test that will hit this code or, if this code is impossible to reach, we should remove it and replace it with simple assertion that will throw error