Eloy Lafuente (stronk7)
f6711bb394
MDL-67673 phpunit: Fix the return type of template methods
...
All the setup/teardown/pre/post/conditions template methods
now are required to return void. This was warned with phpunit 7
and now is enforced.
At the same time, fix a few wrong function names,
provider data and param types, return statements...
2020-10-21 12:45:59 +02:00
Jun Pataleta
d65a927694
MDL-29317 gradeimport_csv: Tests for case-insensitivity
2019-03-29 13:29:32 +08:00
Jun Pataleta
9f09d9dec5
MDL-64958 gradeimport_csv: Better unit tests for check_user_exists()
2019-03-11 09:32:21 +08:00
Adrian Greeve
0305798c62
MDL-30315 gradebook: Uploading feedback doesn't override grades.
2015-08-18 17:02:45 +08:00
Rajesh Taneja
0fe86bbdbb
MDL-49799 behat: replaced asd.com with example.com
...
asd.com is a valid domain, we should use reserved domain names for testing
2015-04-20 11:21:20 +08:00
Eric Merrill
deb7f93af8
MDL-48993 gradebook: When importing new items, treat blank or - as empty
2015-02-12 17:17:06 -05:00
Eric Merrill
502aa0fbfd
MDL-48991 gradebook: Fix style problems
2015-02-12 16:49:17 -05:00
Matt Switlik
cf0af62603
MDL-48991 gradebook: Properly import multiple new grade items
...
Work done in MDL-46547 caused a problem where multiple new grade items
were not imported. Fix up the passing of new grade objects.
2015-02-12 16:06:59 -05:00
Dan Poltawski
e2270952c5
Merge branch 'MDL-46599-master' of git://github.com/lameze/moodle
2014-10-16 17:30:27 +01:00
Adrian Greeve
b9cafe3b40
MDL-46599 gradebook: Added a time exported column to grade export via csv.
...
This will be useful for checking if a csv import is trying to overwrite
new grade updates.
2014-10-16 10:31:10 +08:00
Tim Hunt
a866538b9b
MDL-47649 csvlib: must not leave files open
...
I added a destructor to csv_import_reader ensure the file is closed.
I also ensured that the gradeimport_csv unit tests did not hold onto a
reference to the csv_import_reader object while the phpunit framework
tries to tidy up moodledata.
Finally, to stop CiBoT complaining, I fixed up the PHP4-style
declarations in the CSV import class.
2014-10-14 10:36:25 +01:00
Simey Lameze
372997907f
MDL-46599 gradebook: Unit tests for last exported date and force import option
2014-10-14 09:30:04 +08:00
Adrian Greeve
c3ba8429e1
MDL-46547 gradebook: Unit tests for new class importing csv files.
2014-10-06 09:14:04 +08:00