server: add more decision tests (#32578)
* server: add more decision tests * fix ci * also test audio
This commit is contained in:
1 parent
7716ec8cbc
commit
98709fd82b
6 files changed
+369
-10
No files matched your search
@@ -699,7 +699,7 @@ static void test_decision_ocr_jev_validation(testing & t) {
|
||||
const auto reject_questions = [&](const char * name, const json & body, const std::string & expected) {
|
||||
std::string error;
|
||||
try {
|
||||
ctx.parse_questions(body);
|
||||
ctx.parse_questions(body, false);
|
||||
} catch (const std::invalid_argument & e) {
|
||||
error = e.what();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user