mirror of
https://github.com/docmost/docmost.git
synced 2026-05-07 06:23:06 +08:00
test(server): add getBaseQueryCacheDebug to integration test env stubs
This commit is contained in:
@@ -53,6 +53,9 @@ class FakeEnvService {
|
||||
getBaseQueryCacheWarmTopN() {
|
||||
return 0;
|
||||
}
|
||||
getBaseQueryCacheDebug() {
|
||||
return false;
|
||||
}
|
||||
getRedisUrl() {
|
||||
return REDIS_URL;
|
||||
}
|
||||
@@ -118,6 +121,9 @@ describeIntegration('BaseQueryCacheService LRU eviction', () => {
|
||||
getBaseQueryCacheWarmTopN() {
|
||||
return 0;
|
||||
}
|
||||
getBaseQueryCacheDebug() {
|
||||
return false;
|
||||
}
|
||||
getRedisUrl() {
|
||||
return REDIS_URL;
|
||||
}
|
||||
@@ -753,6 +759,9 @@ describeIntegration('BaseQueryCacheService warm-up on boot', () => {
|
||||
getBaseQueryCacheWarmTopN() {
|
||||
return 5;
|
||||
}
|
||||
getBaseQueryCacheDebug() {
|
||||
return false;
|
||||
}
|
||||
getRedisUrl() {
|
||||
return REDIS_URL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user