moodle/mod/workshop
Eloy Lafuente (stronk7) 85f47bae7f MDL-65204 phpunit: various fixes to assertions
Namely:
   - 3rd param of assertEquals() cannot be null.
   - Some incorrect uses of assertNotEmpty().
   - Comparing 2 strings now uses strict (===) evaluation.
       Link: https://github.com/sebastianbergmann/phpunit/issues/3185
     Solution here is one of:
       a) Return to the previous situation, making the comparison
          softer. That can achieved by forcing different types, so
          float == string works.
       b) Changing APIs (both forms and database return strings) to
          perform some conversion to floats. That would make float
          comparison (with floats or strings) to work too.
     The patch here follows the a) approach. Changing all the internals
     for proper float handling sounds excesive when it has been working
     perfectly since ever. So we went the easier route, just getting
     rid of the new === comparisons when needed by changing expectation
     types to float.
2019-04-03 10:39:19 +08:00
..
allocation MDL-64979 Behat: Add option to increase timeouts 2019-03-19 17:17:55 +00:00
amd MDL-60820 workshop: Allow teacher to specify submission types 2018-08-31 14:48:29 +02:00
backup MDL-60820 workshop: Allow teacher to specify submission types 2018-08-31 14:48:29 +02:00
classes MDL-64881 mod_workshop: add task to run allocation plugin cron 2019-03-07 11:33:15 +08:00
db MDL-64881 mod_workshop: add task to run allocation plugin cron 2019-03-07 11:33:15 +08:00
eval MDL-64282 versions: bump all versions and requires near release 2018-11-29 18:24:08 +01:00
form MDL-63276 upgrade: clean < 3.2.0 upgrade steps 2019-01-03 01:17:17 +01:00
lang/en MDL-64881 mod_workshop: add task to run allocation plugin cron 2019-03-07 11:33:15 +08:00
pix
tests MDL-65204 phpunit: various fixes to assertions 2019-04-03 10:39:19 +08:00
aggregate.php
allocation.php
assessment.php MDL-59252 mod_workshop: Move assessment evaluation code to API 2017-10-03 19:16:31 +02:00
editform.php
editformpreview.php
exassessment.php
excompare.php
exsubmission.php
feedbackauthor_form.php
feedbackreviewer_form.php
fileinfolib.php
index.php
lib.php MDL-63152 mod_workshop: Add userid param to calendar callbacks 2019-03-18 15:52:24 +11:00
locallib.php MDL-60820 workshop: Allow teacher to specify submission types 2018-08-31 14:48:29 +02:00
mod_form.php MDL-64862 workshop: Fix grades to pass editing 2019-02-18 14:40:02 +01:00
renderer.php MDL-51932 workshop: Improve UX for teachers on switching workshop phases 2017-04-18 18:00:59 +02:00
settings.php
styles.css MDL-51932 workshop: Improve UX for teachers on switching workshop phases 2017-04-18 18:00:59 +02:00
submission.php MDL-60144 mod_workshop: Move submission evaluation code to API 2017-10-03 19:28:44 +02:00
submission_form.php MDL-60820 workshop: Allow teacher to specify submission types 2018-08-31 14:48:29 +02:00
switchphase.php
toolbox.php
upgrade.txt MDL-64881 mod_workshop: add task to run allocation plugin cron 2019-03-07 11:33:15 +08:00
version.php MDL-64881 mod_workshop: fix version bump 2019-03-07 11:43:36 +08:00
view.php MDL-59238 mod_workshop: Move event and completion to Workshop class 2017-07-24 18:03:36 +02:00