-
Functional Test
-
Minor
-
Moodle 3.0
NOTE: You need a moodle site with https
- Install clean moodle site under domian using https
- Check that during the installation you don’t see any warnings
- Once the site is installed, you need to check that:
- The setting enablemobilewebservice is enabled in Site administration ▶︎ Plugins ▶︎ Web services ▶︎ Mobile
- The Moodle mobile web service is enabled in Site administration ▶︎ Plugins ▶︎ Web services ▶︎ External services
- Rest and XML-RPC protocols are enabled in Site administration ▶︎ Plugins ▶︎ Web services ▶︎ Manage protocols
- For the authenticated user, the capabilities: webservice/rest:use webservice/xmlrpc:use and moodle/webservice:createmobiletoken are enabled at system level
- Disable the Mobile service (enablemobilewebservice) in Site administration ▶︎ Plugins ▶︎ Web services ▶︎ Mobile
- Bump moodle version (version.php) number to simulate an upgrade and go to Admin ▶︎ Notifications to do the upgrade
- Confirm that the setting enablemobilewebservice is still disabled
- Now, do another clean installation under https but this time using the CLI:
sudo -u httpd php54 admin/cli/install.php --lang=en --wwwroot=https://localhost/m/stable_master --dataroot=/Users/xyz/wwwdata/moodledatatest1 --dbhost="localhost" --dbuser="dbuser1" --dbname=test1 --dbpass=xyz --fullname=t --shortname=t --adminpass="yourPass!" --adminemail=“yourmail@moodle.com" --non-interactive --allow-unstable --agree-license
- Confirm steps 4, 5, 6 y 7 (doing the upgrade using the cli)