Fuente: https://github.com/chamilo/chamilo-lms/releases/download/v1.11.40/chamilo-1.11.40.zip sha256: 1cf4bf2cc7bae1ef1a1eff643235db1d552f78ddf4b6dd1e2d2dac9868679439 Snapshot independiente (rama huerfana); diffable vs 1.11.38. vendor incluido.
33 lines
749 B
PHP
33 lines
749 B
PHP
<?php
|
|
|
|
namespace Shibboleth;
|
|
|
|
/**
|
|
* Run unit tests. Server needs to be a test server to run those.
|
|
*
|
|
* @license see /license.txt
|
|
* @author Laurent Opprecht <laurent@opprecht.info>, Nicolas Rod for the University of Geneva
|
|
*/
|
|
include_once __DIR__.'/../init.php';
|
|
|
|
if (!ShibbolethTest::is_enabled())
|
|
{
|
|
echo 'This is not a test server';
|
|
die;
|
|
}
|
|
|
|
echo 'Test started<br/>-------------------<br/>';
|
|
|
|
ShibbolethTest::test_new_teacher();
|
|
ShibbolethTest::test_new_student();
|
|
ShibbolethTest::test_update_teacher();
|
|
ShibbolethTest::test_new_student_multiple_givenname();
|
|
ShibbolethTest::test_new_no_affiliation_default();
|
|
ShibbolethTest::test_new_staff();
|
|
ShibbolethTest::test_new_infer_status_request();
|
|
|
|
echo '-------------------<br/>Done!';
|
|
|
|
|
|
|