Commit graph

676 commits

Author SHA1 Message Date
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
brantje 0b716a4d5f
Remove double matrix 2016-10-09 20:28:56 +02:00
brantje 02d783f39b
Fix MC 2016-10-09 20:25:01 +02:00
brantje 9fbcf6aefc
update travis 2016-10-09 19:57:42 +02:00
brantje 2ec6d1ea91
Add owncloud to tests 2016-10-09 19:26:15 +02:00
brantje 65c2111cb5
Merge branch 'changeCIConfig' 2016-10-09 18:44:55 +02:00
brantje d48b218f65
Update readme 2016-10-09 18:35:34 +02:00
brantje a18aa0a0d1
Change travis config, add scrutinizer config 2016-10-09 18:29:31 +02:00
brantje 2c48aab40d
Merge branch 'fixLoadingVaultKeySettings' 2016-10-09 18:26:27 +02:00
Marcos Zuriaga d6e4f32ec8
Added EntityJSONSerializer trait unit tests 2016-10-09 18:24:14 +02:00
brantje c488b3b50c
Small cleanup
Small fix for loading vaultkey
2016-10-09 18:09:52 +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
brantje 5907f1bca2
Merge branch 'removeConsoleLog' 2016-10-09 16:41:34 +02:00
brantje d4ffb6d7ab
Remove console.logs
Better to log a warning, remove unused parameters

Add missing semicolon
2016-10-09 16:35:05 +02:00
Marcos Zuriaga 0b6a2baa41
Added SharingACL database model test case 2016-10-09 16:12:40 +02:00
Sander ad7bcf04e3 Update .travis.yml 2016-10-09 15:48:42 +02:00
Marcos Zuriaga c0e0e61e7b
Added scrutinizer token 2016-10-09 15:42:27 +02:00
Marcos Zuriaga 160d253826
Revert "Code coverage scrutinizer test"
This reverts commit 71fb3679c1.
2016-10-09 15:36:10 +02:00
Marcos Zuriaga 71fb3679c1
Code coverage scrutinizer test 2016-10-09 15:14:29 +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
brantje a9eda2f0dc
Add code coverag 2016-10-09 13:29:05 +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
Sander 7ec277c320 Merge pull request #79 from nextcloud/droneCheck
Add drone config
2016-10-08 17:43:06 +02:00
brantje 1e081999c7
Add drone config 2016-10-08 17:33:32 +02:00
Marcos Zuriaga c6097bfc5f
Add permissions entity backend uint tests 2016-10-08 17:32:07 +02:00
Sander 28a0e54a66 Merge pull request #78 from nextcloud/fixPHPUnit
Fixed phpUnit at travis.
2016-10-08 16:41:10 +02:00
brantje 0958c24d51
Add code-coverage 2016-10-08 16:35:29 +02:00
brantje a2aff9a860
Try to fix phpunit test at travis 2016-10-08 16:30:30 +02:00
Sander 0c60679a3a Merge pull request #77 from nextcloud/fixInvalidKeySize
Use .getActiveVault().vaultKey instead of stored password
2016-10-08 16:28:50 +02:00
brantje 1adfb1db96
Use .getActiveVault().vaultKey instead of stored password, which can be empty 2016-10-08 16:20:34 +02:00
Sander 57486d1ffa Merge pull request #76 from nextcloud/fixNgDupes
Fix for ng-dupes
2016-10-08 16:13:27 +02:00
brantje b195831482
Fix for ng-dupes 2016-10-08 16:07:35 +02:00
Sander ded7aa2aed Merge pull request #75 from nextcloud/fixVaultPreferences
Fix pwSettings not loading
2016-10-08 15:57:10 +02:00