35 Commits

Author SHA1 Message Date
Bassel Kanso
3fb0206a25 fix lint issues 2022-08-18 12:43:38 +03:00
Convly
53f642f2ed Fix tests 2022-08-02 17:42:38 +02:00
Ben Irvin
8fd063ae57
Merge pull request #13942 from strapi/api-token-v2/engine-abstraction-tests
Api token v2/engine abstraction tests
2022-08-02 16:53:08 +02:00
Ben Irvin
b077e735ba fix braces 2022-08-02 16:49:03 +02:00
Ben Irvin
90bc708599 fix test name 2022-08-02 13:12:42 +02:00
Ben Irvin
f2def23f96 fix subject test 2022-08-02 13:07:42 +02:00
Ben Irvin
6e581e044b add type 2022-08-02 13:07:16 +02:00
Ben Irvin
794b5e155d revert generateAbility 2022-08-02 10:44:31 +02:00
Ben Irvin
db1531cc98 fix mocks 2022-08-02 10:13:18 +02:00
Ben Irvin
a8d6c215d2 cleanup 2022-08-01 13:40:43 +02:00
Ben Irvin
20fe90de93 test subject objects 2022-08-01 13:31:27 +02:00
Ben Irvin
56c22e33f3 fix tests 2022-08-01 13:12:10 +02:00
Ben Irvin
295133bb33 finish condition tests 2022-08-01 12:28:04 +02:00
Ben Irvin
58156444e3 expect ability.rules 2022-08-01 11:46:13 +02:00
Convly
31ef51e245 Update wording 2022-08-01 10:48:01 +02:00
Ben Irvin
59b34420d7 cleanup 2022-08-01 10:22:32 +02:00
Ben Irvin
b3133075e9 fix before* hooks test 2022-08-01 09:44:42 +02:00
Ben Irvin
51f8210a73 re-enable condition tests 2022-08-01 09:06:23 +02:00
Ben Irvin
7d4a106f99 fix registerFunction 2022-07-31 17:56:35 +02:00
Ben Irvin
673d471b30 start testing with mocks 2022-07-31 17:27:57 +02:00
Ben Irvin
1aec4fa0b7 allow createRegisterFunction to be wrapped 2022-07-31 17:15:36 +02:00
Ben Irvin
46ea867a27 fix conditions test 2022-07-29 12:22:22 +02:00
Ben Irvin
526d2e9025 fix tests 2022-07-29 09:42:26 +02:00
Ben Irvin
04c9514ab7 test validate hook timing 2022-07-29 09:27:18 +02:00
Ben Irvin
525e535fdf test format.permission 2022-07-29 09:19:06 +02:00
Ben Irvin
de5c1a7f57 add todo tests 2022-07-28 19:40:43 +02:00
Ben Irvin
17036e964c test hooks 2022-07-28 19:15:40 +02:00
Ben Irvin
a59821a242 Merge branch 'api-token-v2/engine-abstraction' into api-token-v2/engine-abstraction-tests 2022-07-28 18:38:14 +02:00
Ben Irvin
f4a594e9c9 add tests 2022-07-28 18:33:02 +02:00
Ben Irvin
078fb244a8 add helper functions 2022-07-28 17:50:44 +02:00
Ben Irvin
8ec0977584 add initial tests 2022-07-28 13:16:14 +02:00
Convly
1453bc0d67 Fix light typings issues 2022-07-28 11:57:40 +02:00
Convly
b34d634c19 Fix format context creation 2022-07-27 15:41:24 +02:00
Convly
456f945d1e Fix condition checks 2022-07-22 10:43:06 +02:00
Convly
ad154e74e3 Add the permission package 2022-07-21 10:39:53 +02:00