Scriptlog Docs

Scriptlog Documentation

Code reference for the Scriptlog codebase

User Tools

Site Tools


scriptlog:tests:protectedpostratelimittest

tests/unit/ProtectedPostRateLimitTest.php

Source: tests/unit/ProtectedPostRateLimitTest.php · 302 lines, ~1706 statements · namespace: (global) · `declare(strict_types=1)`: no


Protected Post Rate Limiting Tests

Tests for password-protected post rate limiting functionality: \- is_unlock_rate_limited() - checks if IP is rate limited \- track_failed_unlock_attempt() - records failed attempt \- clear_failed_unlock_attempts() - clears failed attempts \- get_failed_unlock_attempts() - gets current attempt count \- check_post_password_strength() - validates password strength

Imports

Alias Fully-qualified name
TestCase PHPUnit\Framework\TestCase

Types declared here


Generated by 'tools/gendoc'.

scriptlog/tests/protectedpostratelimittest.txt · Last modified: by admin