Commit graph

42 commits

Author SHA1 Message Date
Marcos 75f541e2c9 Merge branch 'master' into phpunit 2016-10-16 19:07:20 +02:00
Marcos Zuriaga 7f208004e0
Finished credential mapper tests
Fixed some security flaws on the credential update method in the credential mapper class
2016-10-16 19:02:43 +02:00
brantje bb554a8407
Remove deprecated cron 2016-10-16 13:21:27 +02:00
brantje ce49cae86e
Update @covers 2016-10-15 22:19:04 +02:00
brantje 306c267b1b
Fix test and typo 2016-10-15 22:18:44 +02:00
Marcos Zuriaga 8a30328a73
Added partial test
Fixed bug with null data in the mock datasets
Edited mock data so there it's some expired credentials
Added some phpdocs
2016-10-15 21:03:50 +02:00
Marcos Zuriaga 41b0005e7c
Added credential revision mapper unit test 2016-10-15 19:27:43 +02:00
Marcos Zuriaga 95509e3558
Added file mapper test
Updated database test mock data and added missing tables
Changed some wrong phpdoc
Added some phpdoc
2016-10-15 17:53:22 +02:00
Marcos Zuriaga 114df3e948
Attempt to fix pgsql fails 2016-10-15 01:48:33 +02:00
Marcos Zuriaga 4086f22212
Refactored helper to use nextcloud query builder
hoping this fixes the test problems with pgsql
2016-10-15 01:42:14 +02:00
Marcos Zuriaga c91c9cb6d8
Add more vervosity to the travis phpunit run
Skip test that fails by unknown php witchery and mark as incomplete
Changed some incomplete annotation
2016-10-14 23:30:54 +02:00
Marcos Zuriaga 52c072631d
Added unit tests agains sharerequest mapper
Added some helper functions on the database helper test
Renamed method so it's less confusing
2016-10-14 22:39:06 +02:00
Marcos Zuriaga 286476a546
Fixed some types on sharerequest entity
Added partial unit test for sharerequest mapper
Changed some assertEquals to assertSame so we don't do loosy type checks
2016-10-14 15:39:33 +02:00
Marcos Zuriaga 61dbcedfa4
Removed unused var from mapper constructor 2016-10-12 19:23:12 +02:00
Marcos Zuriaga 5186648889
Added unit test for SharingACLMapper
Renamed some vars
Added launch_phpunit.sh to gitignore
2016-10-12 19:08:59 +02:00
Marcos Zuriaga 9c53219346
Removed unused method and variable 2016-10-11 23:15:45 +02:00
Marcos Zuriaga 3f2bb33ce3
Changed unit test env var names 2016-10-11 22:33:48 +02:00
Marcos Zuriaga efd27ee1ae
Fix truncate table 2016-10-11 02:06:04 +02:00
Marcos Zuriaga 1f30ccc963
Added Database testing base class
Added VaultMapper unit tests
Edited some VaultMapper docs and changed a function to use the Utils implementation
Added coverage phpunit annotations
2016-10-11 01:41:32 +02:00
Marcos Zuriaga d909d780b3
Removed TODO 2016-10-10 02:16:10 +02:00
Marcos Zuriaga 652be86567
Refactored to use assertEquals where applicable,
so in case of errors the messages are more meaningful
2016-10-10 02:15:00 +02:00
Marcos Zuriaga d6e4f32ec8
Added EntityJSONSerializer trait unit tests 2016-10-09 18:24:14 +02:00
Marcos Zuriaga 64930bb106
Create unit tests for Vault database model
Fix some typos in phpdoc of vault db model
2016-10-09 17:53:20 +02:00
Marcos Zuriaga 0b6a2baa41
Added SharingACL database model test case 2016-10-09 16:12:40 +02:00
Marcos Zuriaga a45dd19792
Merge branch 'codeCoverage' into phpunit 2016-10-09 15:02:34 +02:00
Marcos Zuriaga bc0f47a8e5
Unit tests for ShareRequest model
Fixes bug with asACLJson result data in sharerequest
2016-10-09 14:52:23 +02:00
Marcos Zuriaga ba259c350c
Added some dirs to coverage tests
Added File db model to tests
2016-10-09 02:31:46 +02:00
Marcos Zuriaga 0fc7b26f38
Added CredentialRevision unit test 2016-10-09 01:46:53 +02:00
Marcos Zuriaga e4d55f3e29
Added credential test case 2016-10-09 00:39:59 +02:00
brantje e2f1676320
Add oc_passman_credentials xml 2016-10-08 23:43:34 +02:00
brantje 12ee0e1778
Add vault xml 2016-10-08 23:42:19 +02:00
brantje 7ae8066307
Add demo data for share request table 2016-10-08 23:30:32 +02:00
brantje f49d989331
Add demo data for acl table 2016-10-08 23:29:24 +02:00
Marcos Zuriaga e2faab8f4d
NotFoundJSONResponse unit tests 2016-10-08 18:47:15 +02:00
Marcos Zuriaga 1e8d742c01
Utils class simplification of microtime method
utils unit tests
2016-10-08 18:24:30 +02:00
Marcos Zuriaga c6097bfc5f
Add permissions entity backend uint tests 2016-10-08 17:32:07 +02:00
brantje a2aff9a860
Try to fix phpunit test at travis 2016-10-08 16:30:30 +02:00
brantje 23e8b08fb2
Fix internal test 2016-10-07 21:39:47 +02:00
brantje 66a5292306
Add test for internal controller 2016-10-07 21:33:50 +02:00
brantje 62aa51dfe9
Create tests for page controller 2016-10-07 21:27:57 +02:00
brantje 76991470be
Add phpunit tests 2016-10-07 20:55:17 +02:00
brantje 3e68a3eccc Initial commit 2016-09-09 17:36:35 +02:00