Commit Graph

32 Commits

Author SHA1 Message Date
Joas Schilling 150e58880e
Fix other tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-08-18 17:15:14 +02:00
Joas Schilling 906b1f8db2
Improve code coverage handling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-08-18 17:11:30 +02:00
Joas Schilling b5ccb3e184
Add tests for submitUserForm
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-08-18 17:11:30 +02:00
Joas Schilling 6f6057d0a9
Add unit tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-08-18 17:11:30 +02:00
Joas Schilling 47b01c6639
Fix minor issues
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-08-18 17:03:39 +02:00
Joas Schilling fc0d42f30d
Make MailService strict
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-07-14 16:56:36 +02:00
Joas Schilling 4a319ef21a
Remove unnecessary compatibility layers
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-07-14 10:28:37 +02:00
Joas Schilling 6ec4017295
Merge pull request #223 from nextcloud/techdebt/noid/move-to-migration
Move to migration
2020-07-13 08:26:01 +02:00
Joas Schilling df915c375b
Linting is also done via github workflows already
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-07-10 17:17:45 +02:00
Joas Schilling 862952c30e
Validate the info.xml with a github workflow
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-07-10 17:16:16 +02:00
Joas Schilling d5cdfc262d
Move to migration
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-07-10 16:41:33 +02:00
Joas Schilling 298f7c4704
Objects are always passed by reference
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-07-10 16:24:32 +02:00
Joas Schilling e9dfd13fe0
Combine both phpunit configs into one
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-07-10 13:23:15 +02:00
Joas Schilling 9085f08269
Correctly run the phpunit tests again
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-07-10 13:12:20 +02:00
Joas Schilling f224b89da3
CS auto fixes
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-07-10 10:13:03 +02:00
Joas Schilling 8266184a50 Move to PSR-4 naming to support upcoming composer update
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-07-09 10:54:37 -04:00
Pellaeon Lin be903f4602 Update tests: phpunit version, adhere to official app bootstraping
approach
2020-04-11 00:56:28 +00:00
Pellaeon Lin dec32a0afa Update# test 2018-07-01 06:14:38 +08:00
Pellaeon Lin 3e9f594163 Update# testing: use returnCallback() to mock IConfig 2018-06-30 17:41:31 +08:00
Pellaeon Lin 3bb6bc8026 Update# test createPendingReg 2018-06-30 17:40:57 +08:00
Pellaeon Lin 05be19aa93 Update# use once() instead of at() 2018-06-30 17:40:37 +08:00
Pellaeon Lin 598e3ff4fa Add# first registerController test 2018-06-30 17:10:08 +08:00
Pellaeon Lin fa438eb7ce Add# testing for allowed_domains in service 2018-06-30 16:45:35 +08:00
Pellaeon Lin 3434dc4dce Fix# namespace 2018-06-30 15:25:41 +08:00
Pellaeon Lin c5be32bd17 Update# add DB to RegistrationServiceTest 2018-06-24 15:10:18 +08:00
Pellaeon Lin 542d65f453 Add# integration test for duplicate username 2018-04-29 00:24:37 +08:00
Pellaeon Lin 9cc755e309 Update# forgot to add integration folder setting to phpunit.xml 2018-04-29 00:24:10 +08:00
Pellaeon Lin 74704d562f Add# integration test for RegistrationService 2018-04-28 23:40:43 +08:00
Laurens Stötzel c8a59ee026 TravisCI tests, refactoring for ownCloud/Nextcloud compatibility
This includes tests for:
- PHP 5.6/7.0/7.1/7.2
- MySQL/SQLite/Postgres
- ownCloud/Nextcloud
2017-12-20 12:33:01 +01:00
Pellaeon Lin 96a73ee827 Add some tests and enable travisCI 2017-10-03 15:44:52 +08:00
Julius Härtl f4521a9d29
Add basic unit testing and tests for API controller
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2017-06-30 15:54:29 +02:00
Pellaeon Lin c3eedc1460 Create app 2014-08-28 14:43:28 +00:00