moodleou / moodle-mod_ouwiki

Alternative wiki module for Moodle 2 (designed for use in teaching and learning)
36 stars 32 forks source link

Failing Unit test Moodle 4.1 #102

Open x-iy opened 9 months ago

x-iy commented 9 months ago

Failing unit test:

There was 1 error:

1) ouwiki_locallib_test::test_completion
dml_read_exception: Error reading from database (FUNCTION prolearn.MIN does not exist. Check the 'Function Name Parsing and Resolution' section in the Reference Manual
SELECT COUNT(1)
                   FROM phpu_ouwiki_versions v
             INNER JOIN phpu_ouwiki_pages p ON p.id = v.pageid
             INNER JOIN phpu_ouwiki_subwikis s ON s.id = p.subwikiid
                  WHERE v.userid = ? AND v.deletedat IS NULL AND s.wikiid = ? AND (SELECT MIN (id)
                                 FROM phpu_ouwiki_versions
                                WHERE pageid = p.id AND deletedat IS NULL) = v.id