lukinovec
|
8f5a4e4eb6
|
Use $addTags approach again
|
2023-04-20 15:49:17 +02:00 |
|
lukinovec
|
52d10d36f9
|
Prefix both drivers by default, add assertions for the second driver where missing
|
2023-04-19 10:30:09 +02:00 |
|
lukinovec
|
2171ca9c68
|
Override cache manager only in CacheTagsBootstrapper
|
2023-04-19 09:37:10 +02:00 |
|
lukinovec
|
4d387188c5
|
Inline variable & config key assignment
|
2023-04-18 16:10:47 +02:00 |
|
lukinovec
|
cb07a47f18
|
Change setting to assertion, add comment
|
2023-04-18 15:05:37 +02:00 |
|
lukinovec
|
b5abe6ef0f
|
Use tenancy.cache.manager config instead of Stancl\Tenancy\CacheManager
|
2023-04-18 14:39:35 +02:00 |
|
lukinovec
|
4b862e2bd6
|
Delete redundant config put calls
|
2023-04-18 14:27:57 +02:00 |
|
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
|
835b169d60
|
Update defaulting test
|
2023-04-18 08:53:33 +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
|
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
|
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
|
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 |
|
lukinovec
|
35b0dea270
|
Use $this->app instead of app()
|
2023-04-12 09:40:00 +02:00 |
|
lukinovec
|
39e62c7dcf
|
Make original prefixes customizable
|
2023-04-12 08:23:31 +02:00 |
|
lukinovec
|
66669934f9
|
Reset static properties in afterEach
|
2023-03-31 14:11:45 +02:00 |
|
lukinovec
|
7bbd5350c7
|
Update tests
|
2023-03-31 09:20:10 +02:00 |
|
lukinovec
|
7b91e3fdec
|
Test cache prefixing customization
|
2023-03-14 17:24:57 +01:00 |
|
lukinovec
|
9e8af40715
|
Test that non-default stores get prefixed too
|
2023-02-21 18:48:57 +01:00 |
|
lukinovec
|
c3e3a33ed0
|
Fix test
|
2023-02-01 11:51:28 +01:00 |
|
lukinovec
|
8deeef25be
|
Improve tests
|
2023-01-06 08:34:56 +01:00 |
|
lukinovec
|
caa0c87153
|
Improve comment
|
2023-01-06 07:22:07 +01:00 |
|
lukinovec
|
1104aba4ef
|
Improve specific cache store in a service test
|
2023-01-06 07:20:37 +01:00 |
|
lukinovec
|
52db2a0c06
|
Remove group('prefix')
|
2023-01-05 16:49:49 +01:00 |
|
lukinovec
|
507df55b4c
|
Update test name
|
2023-01-05 16:45:25 +01:00 |
|
lukinovec
|
5ea5299ed1
|
Make CacheService a singleton in a test
|
2023-01-05 16:37:43 +01:00 |
|
lukinovec
|
b38aee0a6a
|
Remove unused import, change word
|
2023-01-05 16:28:33 +01:00 |
|
lukinovec
|
7f10b9af41
|
Make 'redis' the only tenant cache store in beforeEach, test that tenantCacheStores works
|
2023-01-05 16:24:37 +01:00 |
|
lukinovec
|
42381d00e2
|
Remove redundant CacheManager extend() call
|
2023-01-05 16:14:20 +01:00 |
|
lukinovec
|
ffefe1b45c
|
Test that the prefix stays the same
|
2023-01-05 13:05:39 +01:00 |
|
lukinovec
|
4b0df42f8a
|
Add and test nonTenantCacheDrivers
|
2023-01-05 12:47:03 +01:00 |
|
lukinovec
|
a59d5a1069
|
Add test
|
2023-01-04 15:08:09 +01:00 |
|
lukinovec
|
87efdd2954
|
Toggle cache tags
|
2022-12-13 05:25:57 +01:00 |
|
lukinovec
|
9ec0b6dae3
|
Make Tenancy override CacheManager
|
2022-12-12 17:05:53 +01:00 |
|
lukinovec
|
825a565fa2
|
Update prefix bootstrapper and test (setStore() in CacheManager and Repository needed)
|
2022-12-08 16:24:54 +01:00 |
|
lukinovec
|
4c33df1aa5
|
Rename CacheAction to CacheService
|
2022-12-07 14:48:52 +01:00 |
|
Abrar Ahmad
|
19255fd98f
|
use Repository in service class DI
|
2022-12-07 18:24:55 +05:00 |
|
Abrar Ahmad
|
2f91309990
|
introduce second tenant in test
|
2022-12-01 14:59:13 +05:00 |
|
Abrar Ahmad
|
6c955acd13
|
CacheService class as singleton
|
2022-12-01 14:58:13 +05:00 |
|