refactor(tests): remove redundant tests and fix assertion style
Remove subset/duplicate architecture tests already covered by broader checks, and replace assertTrue(true) with self::addToAssertionCount(1) for explicit no-exception-thrown intent. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -305,7 +305,7 @@ class RateLimiterServiceTest extends TestCase
|
||||
|
||||
// Should not throw — exceptions are silently ignored.
|
||||
$this->service->reset('login', 'user@example.com');
|
||||
$this->assertTrue(true);
|
||||
self::addToAssertionCount(1);
|
||||
}
|
||||
|
||||
public function testResetWithEmptyScopeDoesNothing(): void
|
||||
|
||||
Reference in New Issue
Block a user