fix bug calculating quiz completion with inactive questions
This commit is contained in:
29
test/fixtures/questions.yml
vendored
29
test/fixtures/questions.yml
vendored
@ -112,6 +112,35 @@ fed10:
|
||||
sort: 9
|
||||
active: true
|
||||
|
||||
fed11:
|
||||
quiz: fed
|
||||
question: nope, nope nope?
|
||||
category: Performance
|
||||
input_type: checkbox
|
||||
input_options:
|
||||
- "Live long and prosper"
|
||||
- "Who ya gonna call?"
|
||||
- "Who you calling Scruffy?"
|
||||
- "J.J. Abrams"
|
||||
- "wibbly wobbly, timey wimey"
|
||||
sort: 91
|
||||
active: false
|
||||
|
||||
fed12:
|
||||
quiz: fed
|
||||
question: yet, another old fake question
|
||||
category: Performance
|
||||
input_type: checkbox
|
||||
input_options:
|
||||
- "Live long and prosper"
|
||||
- "Who ya gonna call?"
|
||||
- "Who you calling Scruffy?"
|
||||
- "J.J. Abrams"
|
||||
- "wibbly wobbly, timey wimey"
|
||||
sort: 91
|
||||
active: false
|
||||
|
||||
|
||||
admin1:
|
||||
quiz: admin
|
||||
question: 'You have a question you want to ask.'
|
||||
|
Reference in New Issue
Block a user