Commit Graph

134 Commits

Author SHA1 Message Date
Bubka
18f70ec843 Update Auth E2E tests 2022-08-07 19:36:23 +02:00
Bubka
d1708b9c9b Add basic E2E Login tests 2022-08-04 21:32:24 +02:00
Bubka
9cda570b13 Use db lazy refresh in tests & Fix some tests 2022-08-01 17:40:25 +02:00
Bubka
ce83d5f300 Fix #107 - Skip encryption when attribute is null 2022-08-01 08:24:49 +02:00
Bubka
f7ac1e96c3 Set SettingService behind a Facade 2022-07-30 17:51:02 +02:00
Bubka
be632bb489 Set TwoFAccountService as static behind a Facade 2022-07-30 11:38:20 +02:00
Bubka
fdc944be0e Set getLogo() as protected 2022-07-30 11:25:45 +02:00
Bubka
601d50e8a4 Set GroupService as static behind a Facade 2022-07-30 11:25:19 +02:00
Bubka
2fcaf46c9d Set QrCodeService as static behind a Facade 2022-07-30 10:46:02 +02:00
Bubka
e2bfbe5868 Bind TwoFAccountService to Service Container 2022-07-29 19:22:54 +02:00
Bubka
e49c358cda Bind SettingService & GroupService to the Service Container 2022-07-29 18:34:27 +02:00
Bubka
14609dec95 Bind QrCodeService to the Service Container 2022-07-29 16:42:52 +02:00
Bubka
c25aaa3371 Fix & Complete tests 2022-07-22 16:27:16 +02:00
Bubka
64da81b5a7 Fix listener test 2022-07-18 16:35:25 +02:00
Bubka
9c54a25fb3 Fix & Complete tests 2022-07-13 14:58:09 +02:00
Bubka
fec900d651 Fix min 5 digits in tests 2022-07-07 13:47:26 +02:00
Bubka
30b8578229 Fix test 2022-07-06 17:21:48 +02:00
Bubka
720eb16750 Refactoring - Move OTPHP logic to TwoFAccount model 2022-07-06 17:10:50 +02:00
Bubka
f30b928deb Add tests for Google Auth import feature 2022-06-21 17:27:47 +02:00
Bubka
37c1f475c2 Fix and complete auth proxy tests 2022-05-23 11:39:10 +02:00
Bubka
070c6a2486 Fix #73 - CSRF token mismatch 2022-05-14 13:45:12 +02:00
Bubka
b0b648cf80 Add & validate MySQL tests 2022-04-01 13:35:59 +02:00
Bubka
97ca673ec2 Fix inconsistent test names 2022-03-31 14:36:37 +02:00
Bubka
b0832499dd Reorganize tests and fix filename 2022-03-31 13:19:09 +02:00
Bubka
684a8a0acb Fix some tests namespaces 2022-03-31 12:09:25 +02:00
Bubka
ee22e24cf1 Fix and complete tests 2022-03-31 11:24:02 +02:00
Bubka
20856d62c6 Upgrade to Laravel 8 2022-03-31 11:24:01 +02:00
Bubka
65da59db64 Drop appstract/laravel-options package 2022-03-31 11:24:01 +02:00
Bubka
8b0871e8ba Complete Unit, Feature and Api tests 2022-03-31 11:24:01 +02:00
Bubka
45b835bbd5 Reorganize and enhance tests 2022-03-31 11:24:01 +02:00
Bubka
a6d4b6c5f6 Fix reset-demo artisan command and its test 2022-03-31 11:24:01 +02:00
Bubka
22442f7af6 Complete tests rewriting for main controllers 2022-03-31 11:24:01 +02:00
Bubka
627944a285 Rewrite tests 2022-03-31 11:24:01 +02:00
Bubka
2cb4578109 Move options to config/2fauth 2022-03-31 11:24:01 +02:00
Bubka
0374bc4994 Fix phpunit tests 2020-11-24 23:09:06 +01:00
Bubka
9344648567 Fix and complete phpunit tests 2020-11-22 12:26:39 +01:00
Bubka
fc05d41120 Complete phpunit tests update 2020-11-17 21:56:06 +01:00
Bubka
55ec97e332 Fix TwoFAccount model unit tests to match its new definition 2020-11-17 15:47:15 +01:00
Bubka
d1d4734031 Avoid uri to be sent to front-end 2020-11-06 15:51:52 +01:00
Bubka
785332f62c Complete phpunit tests 2020-11-05 22:54:49 +01:00
Bubka
b566c233e6 Complete phpunit tests 2020-10-12 15:44:11 +02:00
Bubka
06d5c62e8d Upgrade to Laravel 7.0 2020-10-12 08:05:33 +02:00
Bubka
c653208706 Upgrade to Laravel 6.0 2020-10-11 20:40:28 +02:00
Bubka
6d1424e195 Fix typos to comply with psr-4 autoloading 2020-10-11 19:14:56 +02:00
Bubka
d716213ece Update and complete phpunit tests 2020-10-09 13:35:03 +02:00
Bubka
1c5f12d691 Complete and update tests 2020-05-07 21:24:14 +02:00
Bubka
ffd1199a28 Complete tests 2020-03-27 22:41:32 +01:00
Bubka
a2dd095c81 Complete OptionTest coverage 2020-03-23 21:58:15 +01:00
Bubka
05f1813a25 Test 2fauth console command 2020-03-21 23:08:00 +01:00
Bubka
76ebf847df Set Options with fallback values and better boolean handling 2020-03-13 22:10:36 +01:00
Bubka
80d9433774 Refactore Profile to Settings & Setting to Options 2020-03-09 20:24:25 +01:00
Bubka
98c02a48dc Enhance test code coverage 2020-03-08 20:16:56 +01:00
Bubka
8927a4c7c0 Restore native ResetPassword notification and test it 2020-03-06 15:07:09 +01:00
Bubka
20970606a3 Fix and test Redirection when already authenticated 2020-03-05 17:14:57 +01:00
Bubka
53ada0bfaa Try to fix TravisCI failing on route test 2020-03-05 12:56:35 +01:00
Bubka
25ee8f58fe Refactore Auth feature tests 2020-03-04 17:19:13 +01:00
Bubka
330fb68fc1 Refactore Profile tests 2020-03-03 22:28:03 +01:00
Bubka
284a9f75b2 Enhance unit tests coverage 2020-03-03 17:06:40 +01:00
Bubka
c1d556060f Add LocalFile classes to test qrcode decoding controller 2020-03-03 12:20:14 +01:00
Bubka
13f526ccb1 Enhance unit tests coverage 2020-03-02 17:11:17 +01:00
Bubka
b2c620b5d3 Add settings unit tests 2020-03-01 23:00:01 +01:00
Bubka
d5cf244e15 Fix unit test 2020-02-06 16:08:54 +01:00
Bubka
baa9658e46 Fix unit tests 2020-01-27 21:44:29 +01:00
Bubka
6ed67ad895 Fix userController unit test 2020-01-23 23:42:47 +01:00
Bubka
a0d6c9ace7 Fix phpunit tests 2020-01-20 14:23:31 +01:00
Bubka
99a2fc8641 Fix user controller unit tests 2020-01-14 11:50:20 +01:00
Bubka
35a6b0d87c Fix and complete unit tests 2020-01-10 13:43:36 +01:00
Bubka
3f9752ec84 Fix phpunit test impacted by softDelete removal 2020-01-07 21:43:28 +01:00
Bubka
3a0bf1a596 Remove softDelete on 2FAccounts 2020-01-07 16:46:50 +01:00
Bubka
9e7ea7d0fb refactoring de Name & Email vers Service & Account 2020-01-06 21:45:14 +01:00
Bubka
8b5f5223c0 new email field in TwoFAccount entity 2019-06-10 23:42:13 +02:00
Bubka
99fb3b8c45 Remove example test 2019-06-06 13:49:27 +02:00
Bubka
82cc40fbd6 Seeder replaced by factories 2019-06-06 13:40:06 +02:00
Bubka
a7a4bfc9de unified setup for unit tests 2019-05-29 11:19:49 +02:00
Bubka
bf029bc741 API User details and logout 2019-05-29 11:04:12 +02:00
Bubka
e7695b64bc secret property now named uri to match otphp wording 2019-05-26 23:24:22 +02:00
Bubka
6a76a493a2 TOTP integration 2019-05-26 16:42:09 +02:00
Bubka
482c01ca2c Better API responses without envelope 2019-05-25 23:51:20 +02:00
Bubka
6cdaa12e21 Account refactored and better json responses 2019-05-24 14:44:41 +02:00
Bubka
dcf3e6e1a0 in memory db for testing 2019-05-23 21:27:27 +02:00
Bubka
67288ab815 remove db migration in unit tests 2019-05-23 17:29:11 +02:00
Bubka
507f2677dd db test and Travis CI integration 2019-05-23 14:02:29 +02:00
Bubka
85fc616899 Fix Account controller & test 2019-05-22 00:49:27 +02:00
Bubka
c9150c47fd initial commit 2019-05-20 07:37:41 +02:00