Commit Graph

13 Commits

Author SHA1 Message Date
Meritoo
63e7ddf511 Tests - use common method to create/prepare date 2017-10-27 12:05:12 +02:00
Meritoo
782c31ccdc Fetch all participants of survey (instead of first 10 only - default behaviour) 2017-10-27 12:00:07 +02:00
Meritoo
cdbee2991c Minor refactoring 2017-10-27 10:49:10 +02:00
Meritoo
ba9160cccf Participant has completed survey - fix getting proper information 2017-10-22 18:41:13 +02:00
Meritoo
bdbaebb5c0 Support PHP 5.4 2017-10-19 22:10:26 +02:00
Meritoo
f5334f816f Participants collection - store instances of ParticipantShort instead of Participant
Related to fetch full data of participant of given survey
2017-10-01 20:50:17 +02:00
Meritoo
e43712f218 Minor refactoring 2017-10-01 20:43:39 +02:00
Meritoo
41156ed058 Participants collection - store instances of ParticipantShort instead of Participant
Required to fix bug "Call to undefined method Meritoo\LimeSurvey\ApiClient\Result\Item\ParticipantShort::isCompleted() in /src/Service/ParticipantService.php on line 206"
2017-10-01 13:42:35 +02:00
Meritoo
5243294bd5 Implement Surveys class, collection of surveys, to work with surveys 2017-09-29 22:51:42 +02:00
Meritoo
6159731768 Base class for one item - add class constructor & allow to set values directly in the constructor 2017-09-29 22:10:13 +02:00
Meritoo
cd6dbf72bc Tests - add missing tests of Participants::addParticipant() method 2017-09-29 15:16:17 +02:00
Meritoo
beaf61d2ea Participants collection - disable method has(), because hasParticipantsOfSurvey() should be used to verify if there are participants of given survey 2017-09-29 15:07:26 +02:00
Meritoo
dbd0a65286 composer.json - move tests-related classes to "autoload-dev" section (used for development purposes only and avoid polluting the autoloader in production) 2017-09-29 09:24:57 +02:00