Pin the account table's own cap
The cap-not-wired-accounts hand mutant survived: no test filled the account table. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
912d083894
commit
a9b9b29bf9
1 changed files with 2 additions and 0 deletions
|
|
@ -282,6 +282,8 @@ public sealed class ConceptVoteRateLimitTests : IClassFixture<ConceptVoteRateLim
|
|||
Assert.Null(limits.DenyCast(IPAddress.Parse("198.51.100.1"), null));
|
||||
Assert.True(limits.DenyCast(IPAddress.Parse("198.51.100.2"), null)!.Value.TableFull);
|
||||
Assert.Null(limits.DenyCast(IPAddress.Parse("198.51.100.2"), account));
|
||||
var otherAccount = new VoterIdentity("account:other", VoterClass.Account, Guid.NewGuid());
|
||||
Assert.True(limits.DenyCast(IPAddress.Parse("198.51.100.2"), otherAccount)!.Value.TableFull);
|
||||
Assert.Null(limits.DenyMint(IPAddress.Parse("198.51.100.1")));
|
||||
Assert.True(limits.DenyMint(IPAddress.Parse("198.51.100.2"))!.Value.TableFull);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue