mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-12-21 03:42:46 +00:00
da8e918fb3
Additionally - remove RestbaseInterface::checkBackend. When HTTP requests are banned from unit tests this method makes no sence. MathoidCli tests were not reenabled cause it's a bit hard to mock shell acceess. Hopefully as part of Shellbox transition we can have MockShell trait in core and reenable those tests Bug: T265628 Depends-On: I350ed59af603a0504704af3265787a4be8f2dc2a Change-Id: I294d0ed905193850dc38cb3071eb9b31c8863121
64 lines
1 KiB
JSON
64 lines
1 KiB
JSON
{
|
|
"status": 400,
|
|
"type": "bad_request",
|
|
"title": "Bad Request",
|
|
"detail": {
|
|
"error": {
|
|
"message": "Illegal TeX function",
|
|
"expected": [],
|
|
"found": "\\invalid",
|
|
"location": {
|
|
"start": {
|
|
"offset": 2,
|
|
"line": 1,
|
|
"column": 3
|
|
},
|
|
"end": {
|
|
"offset": 10,
|
|
"line": 1,
|
|
"column": 11
|
|
}
|
|
},
|
|
"name": "SyntaxError"
|
|
},
|
|
"success": false,
|
|
"warnings": [],
|
|
"status": "F",
|
|
"details": "\\invalid",
|
|
"offset": 2,
|
|
"line": 1,
|
|
"column": 3
|
|
},
|
|
"method": "POST",
|
|
"uri": "/texvcinfo",
|
|
"success": false,
|
|
"log": {
|
|
"error": {
|
|
"message": "Illegal TeX function",
|
|
"expected": [],
|
|
"found": "\\invalid",
|
|
"location": {
|
|
"start": {
|
|
"offset": 2,
|
|
"line": 1,
|
|
"column": 3
|
|
},
|
|
"end": {
|
|
"offset": 10,
|
|
"line": 1,
|
|
"column": 11
|
|
}
|
|
},
|
|
"name": "SyntaxError"
|
|
},
|
|
"success": false,
|
|
"warnings": [],
|
|
"status": "F",
|
|
"details": "\\invalid",
|
|
"offset": 2,
|
|
"line": 1,
|
|
"column": 3
|
|
},
|
|
"error": "SyntaxError: Illegal TeX function"
|
|
}
|