mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
Empty question fix
This commit is contained in:
parent
09a04c4ae7
commit
b5d5f20b79
6 changed files with 284 additions and 31 deletions
96
devel/tests/testData/emptyQuestion.json
Normal file
96
devel/tests/testData/emptyQuestion.json
Normal file
|
@ -0,0 +1,96 @@
|
|||
{
|
||||
"subj": "2020/21/1 - Pénzügyek alapjai - GGEPU1GFNE/PA-GY2",
|
||||
"version": "2.0.1.18",
|
||||
"id": "0672665270899",
|
||||
"location": "https://elearning.uni-obuda.hu/asd",
|
||||
"quiz": [
|
||||
{
|
||||
"Q": "",
|
||||
"A": "",
|
||||
"data": {
|
||||
"type": "simple"
|
||||
}
|
||||
},
|
||||
{
|
||||
"Q": "\n\n\n\n",
|
||||
"A": "\n\n\n\n",
|
||||
"data": {
|
||||
"type": "simple"
|
||||
}
|
||||
},
|
||||
{
|
||||
"Q": "",
|
||||
"A": "\n\n\n\n",
|
||||
"data": {
|
||||
"type": "simple"
|
||||
}
|
||||
},
|
||||
{
|
||||
"Q": "\n\n\n\n",
|
||||
"A": "",
|
||||
"data": {
|
||||
"type": "simple"
|
||||
}
|
||||
},
|
||||
{
|
||||
"Q": "",
|
||||
"A": "",
|
||||
"data": {
|
||||
"type": "image",
|
||||
"images": [
|
||||
"Cu_Ag.jpg"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"Q": "\n\n\n\n",
|
||||
"A": "\n\n\n\n",
|
||||
"data": {
|
||||
"type": "image",
|
||||
"images": [
|
||||
"Cu_Ag.jpg"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"Q": "",
|
||||
"A": "\n\n\n\n",
|
||||
"data": {
|
||||
"type": "image",
|
||||
"images": [
|
||||
"Cu_Ag.jpg"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"Q": "\n\n\n\n",
|
||||
"A": "",
|
||||
"data": {
|
||||
"type": "image",
|
||||
"images": [
|
||||
"Cu_Ag.jpg"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"Q": "This should be valid",
|
||||
"A": "\n\n\n\n",
|
||||
"data": {
|
||||
"type": "image",
|
||||
"images": [
|
||||
"Cu_Ag.jpg"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"Q": "This should be valid",
|
||||
"A": "",
|
||||
"data": {
|
||||
"type": "image",
|
||||
"images": [
|
||||
"Cu_Ag.jpg"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue