mediawiki-extensions-Math/tests/phpunit/InputCheck/data/restbase/fail.json
Petr Pchelko da8e918fb3 Enable most tests which were previously disabled
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
2021-08-12 08:57:58 -07:00

34 lines
578 B
JSON

{
"type": "https://mediawiki.org/wiki/HyperSwitch/errors/bad_request",
"title": "Bad Request",
"method": "POST",
"detail": {
"error": {
"message": "Illegal TeX function",
"expected": [],
"found": "\\newcommand",
"location": {
"start": {
"offset": 4,
"line": 1,
"column": 5
},
"end": {
"offset": 15,
"line": 1,
"column": 16
}
},
"name": "SyntaxError"
},
"success": false,
"warnings": [],
"status": "F",
"details": "\\newcommand",
"offset": 4,
"line": 1,
"column": 5
},
"uri": "/texvcinfo"
}