fix start_time -> update_time

This commit is contained in:
Yansong Zhang
2026-02-04 13:18:47 +08:00
parent aaa98c9550
commit 6d87424ab8
3 changed files with 39 additions and 28 deletions

View File

@ -100,7 +100,7 @@ class TestApiTokenCacheRedisIntegration:
assert 595 <= ttl <= 600 # Should be around 600 seconds (10 minutes)
def test_cache_null_value_for_invalid_token(self):
"""Test caching null value for invalid tokens (防穿透)."""
"""Test caching null value for invalid tokens """
# Cache null value
result = ApiTokenCache.set(self.test_token, self.test_scope, None)
assert result is True