TESTS for personalization module

Summary

Knowledge Sources section

PMDLe Profile management (create, load/read, copy, access)

** Create empty class PMDLEProfile...

Warning: the URL '' does not exist

** Create class PMDLEProfile from url...

** Create class PMDLEProfile with DAO tools...

** Save class PMDLEProfile to file with DAO tools...

XML PMDLe file has been written to /srv/data/web/vhosts/bruno.mascret.fr/htdocs/apiPerso/tests/sauv.pro

** Display known informations on profile

** Access to value with the path Mathematics/Analysis

- value for Mathematics/Analysis: 63

** Access to value with the path Mathematics/Analysis/Group theory/Famous groups/Gallois and evaluation date 2012/02/22

- value for Mathematics/Analysis/Group theory/Famous groups/Gallois for the 2012/02/22: 12
- value for Mathematics/Analysis/Group theory/Famous groups/Gallois for the last evaluation: 14

** Access to wrong values evaluation date 2012/02/22

- value for Mathematics/Analysis/Group theory/Famous groups/Gallois for the 1979/02/08:
- Caught Error: Invalid stone toto in ressource path toto/bidon/truc

** Create class PMDLEProfile with IPACOME instance from url...

** Display known informations on profile

** Manage profile

Back to summary

Pedagogical ressources (create, load/read, access)

** Create empty class PedagogicalRessource...


Fatal error: Uncaught ArgumentCountError: Too few arguments to function PedagogicalRessource::__construct(), 1 passed in /srv/data/web/vhosts/bruno.mascret.fr/htdocs/apiPerso/Test.php on line 261 and at least 2 expected in /srv/data/web/vhosts/bruno.mascret.fr/htdocs/apiPerso/personalization/ksources/pedagogicalRessources/PedagogicalRessource.php:53 Stack trace: #0 /srv/data/web/vhosts/bruno.mascret.fr/htdocs/apiPerso/Test.php(261): PedagogicalRessource->__construct() #1 /srv/data/web/vhosts/bruno.mascret.fr/htdocs/apiPerso/Test.php(139): testPedagogicalRessources() #2 /srv/data/web/vhosts/bruno.mascret.fr/htdocs/apiPerso/Test.php(123): mainTest() #3 {main} thrown in /srv/data/web/vhosts/bruno.mascret.fr/htdocs/apiPerso/personalization/ksources/pedagogicalRessources/PedagogicalRessource.php on line 53