feat(admin): 密码校验统一与后台 API/设置增强
- 管理端账号/代理/站点等密码最短长度统一为 6 位 - LotterySettings、审计日志展示、币种与报表接口等小修复 - 补充设置批量更新、注单、校验错误等相关测试
This commit is contained in:
@@ -13,6 +13,13 @@ test('lottery settings get returns seeded value', function (): void {
|
||||
expect(LotterySettings::get('fixture.flag'))->toBeTrue();
|
||||
});
|
||||
|
||||
test('env locked draw settings ignore database overrides', function (): void {
|
||||
config(['lottery.draw.interval_minutes' => 9]);
|
||||
LotterySettings::put('draw.interval_minutes', 99, 'draw');
|
||||
|
||||
expect(LotterySettings::drawIntervalMinutes())->toBe(9);
|
||||
});
|
||||
|
||||
test('lottery settings misses are not cached', function (): void {
|
||||
Cache::flush();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user