MDL-69863 tool_brickfield: Disable analysis by default on installation.
This commit is contained in:
committed by
Eloy Lafuente (stronk7)
parent
c8e14ad361
commit
a37aaa8f20
@@ -77,8 +77,9 @@ if ($hassiteconfig) {
|
||||
manager::PLUGINNAME . '/analysistype',
|
||||
get_string('analysistype', manager::PLUGINNAME),
|
||||
get_string('analysistype_desc', manager::PLUGINNAME),
|
||||
analysis::ANALYSISDISABLED,
|
||||
analysis::ANALYSISBYREQUEST,
|
||||
analysis::ANALYSISBYREQUEST
|
||||
analysis::ANALYSISDISABLED
|
||||
));
|
||||
|
||||
$settings->add(new admin_setting_configcheckbox(
|
||||
|
||||
@@ -9,6 +9,8 @@ Feature: Brickfield activityresults
|
||||
| activity | name | intro | course | idnumber |
|
||||
| label | Label one | <b>Bold text is bold.</b> | C1 | id001 |
|
||||
| label | Label two | <a href="modle.org">Click here</a> | C1 | id002 |
|
||||
And the following config values are set as admin:
|
||||
| analysistype | 1 | tool_brickfield |
|
||||
|
||||
@javascript
|
||||
Scenario: Test the Brickfield accessibility tool plugin
|
||||
|
||||
@@ -8,6 +8,8 @@ Feature: Block accessreview
|
||||
Given the following "courses" exist:
|
||||
| fullname | shortname | format |
|
||||
| Course 1 | C1 | topics |
|
||||
And the following config values are set as admin:
|
||||
| analysistype | 1 | tool_brickfield |
|
||||
|
||||
Scenario: View accessreview block on a course
|
||||
Given I log in as "admin"
|
||||
|
||||
@@ -12,6 +12,8 @@ Feature: Block accessreview results
|
||||
| activity | name | intro | course | idnumber |
|
||||
| label | Label one | <b>Bold text is bold.</b> | C1 | id001 |
|
||||
| label | Label two | <a href="modle.org">Click here</a> | C1 | id002 |
|
||||
And the following config values are set as admin:
|
||||
| analysistype | 1 | tool_brickfield |
|
||||
|
||||
Scenario: View accessreview block results on a course
|
||||
Given I log in as "admin"
|
||||
|
||||
Reference in New Issue
Block a user