Skip to content

Commit

Permalink
fix(ci): require login after config.php
Browse files Browse the repository at this point in the history
  • Loading branch information
icaparros-at-wiris committed Jan 18, 2022
1 parent 55e05e7 commit 358cbab
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions info.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
require_once($CFG->dirroot . '/lib/editor/tinymce/lib.php');
require_once($CFG->dirroot . '/filter/wiris/classes/pluginwrapper.php');

require_login();

// BEGIN HELPERS FUNCTIONS.
function wrs_assert($condition, $reporttext, $solutionlink) {
if ($condition) {
Expand Down
1 change: 1 addition & 0 deletions tests/filter_performance_png_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
* @copyright 2016
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later.
*/
namespace filter_wiris;

defined('MOODLE_INTERNAL') || die();

Expand Down
1 change: 1 addition & 0 deletions tests/filter_performance_svg_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
* @copyright 2016
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later.
*/
namespace filter_wiris;

defined('MOODLE_INTERNAL') || die();

Expand Down
1 change: 1 addition & 0 deletions tests/filter_without_performance_png_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
* @copyright 2016
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later.
*/
namespace filter_wiris;

defined('MOODLE_INTERNAL') || die();

Expand Down
1 change: 1 addition & 0 deletions tests/filter_without_performance_svg_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
* @copyright 2016
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later.
*/
namespace filter_wiris;

defined('MOODLE_INTERNAL') || die();

Expand Down

0 comments on commit 358cbab

Please sign in to comment.