Use a made-up token in the query-token redaction tests

This commit is contained in:
maziggy
2026-10-07 13:48:28 +02:00
parent 0b35bbd444
commit 549c87b926
@@ -18,7 +18,8 @@ import pytest
from backend.app.core.logging_filters import QueryTokenRedactFilter, redact_query_tokens
from backend.app.services.log_reader import sanitize_log_content
TOKEN = "M8qxtTy4sHgSkUhAwwrOHSji8stuLIq0"
# Made up. Never paste a token from a real log here, expired or not.
TOKEN = "fake-test-token"
def _record(msg: str, args) -> logging.LogRecord: