fix: 配额单元测试同步添加 pro 套餐 #1265
@@ -462,7 +462,7 @@ class TestQuotaTiers:
|
||||
def test_all_tiers_exist(self):
|
||||
from packages.domain.quota import QUOTA_TIERS
|
||||
|
||||
assert set(QUOTA_TIERS.keys()) == {"free", "basic", "premium"}
|
||||
assert set(QUOTA_TIERS.keys()) == {"free", "basic", "premium", "pro"}
|
||||
|
||||
|
||||
# ============================================================
|
||||
@@ -688,7 +688,7 @@ class TestQuotaRegistry:
|
||||
|
||||
reg = QuotaRegistry()
|
||||
tiers = reg.list_tiers()
|
||||
assert set(tiers) == {"free", "basic", "premium"}
|
||||
assert set(tiers) == {"free", "basic", "premium", "pro"}
|
||||
|
||||
def test_register_new_dimension(self):
|
||||
from packages.domain.quota import QuotaRegistry
|
||||
|
||||
Reference in New Issue
Block a user