1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 22:54:03 +00:00
Commit graph

1210 commits

Author SHA1 Message Date
lukinovec
f7c8f226c3 Add assertions + comment 2023-04-18 14:20:21 +02:00
lukinovec
c0e2926905 Update comment 2023-04-18 09:49:44 +02:00
lukinovec
46f94d15a5 Extract duplicate assertions into a closure 2023-04-18 09:42:43 +02:00
lukinovec
e4a4940e59 Update comments 2023-04-18 09:25:31 +02:00
lukinovec
effb6a81a1 Add todo 2023-04-18 09:02:38 +02:00
lukinovec
835b169d60 Update defaulting test 2023-04-18 08:53:33 +02:00
PHP CS Fixer
f12f119ff2 Fix code style (php-cs-fixer) 2023-04-17 16:06:57 +00:00
lukinovec
ab92f85b51 Add cache manager config key 2023-04-17 18:06:29 +02:00
lukinovec
ca907e68be Improve tests 2023-04-17 18:00:03 +02:00
lukinovec
2309b83327 Improve test name 2023-04-17 17:05:03 +02:00
lukinovec
b4f4fd1d94 Fix formatting 2023-04-17 17:00:28 +02:00
lukinovec
4c9cb7cf51 Merge the tenantCacheStores tests 2023-04-17 17:00:15 +02:00
lukinovec
9925e49112 Assert that cache is null from the beginning 2023-04-17 15:11:30 +02:00
lukinovec
90684a7d92 Add re-initialization cache assertion 2023-04-17 15:10:06 +02:00
lukinovec
bd41ae4fe5 Delete TTL from cache put calls 2023-04-17 15:06:22 +02:00
lukinovec
ce43384537 Refactor assertions 2023-04-17 14:54:45 +02:00
lukinovec
d84878bd45 Refactor assertion 2023-04-17 14:51:52 +02:00
lukinovec
859b2c534a Add assertion 2023-04-17 14:49:23 +02:00
lukinovec
52d9643535 Update cache prefixing and tests 2023-04-17 14:34:54 +02:00
lukinovec
13b85a2d3b Set cache.default in beforeEach 2023-04-17 12:36:59 +02:00
lukinovec
0c1912b9c5 Small testing improvements 2023-04-14 12:33:08 +02:00
lukinovec
3481e24c7d Delete afterEach 2023-04-13 13:45:29 +02:00
lukinovec
dd57d9bbdc Simplify cache tests 2023-04-13 13:44:00 +02:00
lukinovec
9e15110ad9 Update cache tests so that both prefixing and tagging is covered 2023-04-13 13:36:58 +02:00
lukinovec
651302943f Correct $addTags reset in a test 2023-04-13 13:10:41 +02:00
lukinovec
740d4e78d8 Update prefix generator logic + tests 2023-04-13 12:46:33 +02:00
lukinovec
8ac4d87e94 Use a single original prefix 2023-04-13 07:47:18 +02:00
PHP CS Fixer
c9ba00c1fc Fix code style (php-cs-fixer) 2023-04-13 05:07:38 +00:00
lukinovec
4ab692bb05 Rename bootstrapper 2023-04-13 07:07:11 +02:00
lukinovec
35b0dea270 Use $this->app instead of app() 2023-04-12 09:40:00 +02:00
lukinovec
9d9e2b32ce Add defaultPrefix property 2023-04-12 09:10:23 +02:00
lukinovec
e894c782ab Add info in comment 2023-04-12 08:33:45 +02:00
lukinovec
39e62c7dcf Make original prefixes customizable 2023-04-12 08:23:31 +02:00
lukinovec
940fb1744b Move logic from separate method to __call 2023-04-12 07:21:33 +02:00
lukinovec
2d0ee2c7cd Improve CacheManager 2023-04-12 07:17:29 +02:00
lukinovec
70051e70b3 Rename bootstrapper 2023-04-11 15:01:08 +02:00
PHP CS Fixer
52dabed878 Fix code style (php-cs-fixer) 2023-04-11 12:29:44 +00:00
lukinovec
7ebfc375d6 Disable cache tagging by default, add CacheTagBootstrapper 2023-04-11 14:28:28 +02:00
lukinovec
5849afa4c8 Use $this->config instead of config() 2023-04-07 12:03:55 +02:00
lukinovec
66669934f9 Reset static properties in afterEach 2023-03-31 14:11:45 +02:00
lukinovec
840cd831d6 Delete CacheTenancyBootstrapper 2023-03-31 14:10:56 +02:00
lukinovec
7bbd5350c7 Update tests 2023-03-31 09:20:10 +02:00
lukinovec
1f1c7cc2bc Fix original prefix logic 2023-03-31 09:19:46 +02:00
lukinovec
8ea3cc9739 Use default prefix generator inline, delete the 'default' key logic 2023-03-31 07:51:20 +02:00
lukinovec
c45f900b78 Delete tmpfs from docker-compose.yml (there were no benefits) 2023-03-30 14:37:32 +02:00
e9aa5be546
Update ci.yml 2023-03-20 21:50:17 +01:00
lukinovec
a1dc8e93b8 Merge branch 'master' of github.com:archtechx/tenancy into cache-prefix 2023-03-20 12:19:15 +01:00
Samuel Štancl
dfd39722a7
bump stancl/jobpipeline to v2.0.0-rc1 2023-03-16 22:20:47 +01:00
PHP CS Fixer
9388459d7d Fix code style (php-cs-fixer) 2023-03-14 16:30:41 +00:00
lukinovec
7b91e3fdec Test cache prefixing customization 2023-03-14 17:24:57 +01:00