Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lms/models/application_instance.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ class Settings(StrEnum):
Settings.HYPOTHESIS_HIDE_AND_REVEAL: JSONSetting(
Settings.HYPOTHESIS_HIDE_AND_REVEAL,
SettingFormat.TRI_STATE,
default=False,
default=True,
),
}

Expand Down
2 changes: 1 addition & 1 deletion tests/functional/views/lti/deep_linking_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def test_basic_lti_launch_canvas_deep_linking_url(
js_config = get_client_config(response)
assert js_config["mode"] == JSConfig.Mode.FILE_PICKER
assert js_config["filePicker"] == {
"assignmentTypes": ["reading"],
"assignmentTypes": ["reading", "hide_and_reveal"],
"autoGradingEnabled": True,
"blackboard": {"enabled": None},
"canvas": {
Expand Down
4 changes: 2 additions & 2 deletions tests/unit/lms/resources/_js_config/__init___test.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ def test_it(
(True, ["reading", "hide_and_reveal"]),
# Flag explicitly off.
(False, ["reading"]),
# Flag unset: defaults to off.
(None, ["reading"]),
# Flag unset: defaults to on.
(None, ["reading", "hide_and_reveal"]),
],
)
def test_it_sets_assignment_types(
Expand Down
Loading