fix(settlement): 全部门店可未出账提现并企微提醒
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -247,7 +247,6 @@ describe('sumUnbilledPayoutAmount', () => {
|
||||
|
||||
describe('validateStoreWithdraw', () => {
|
||||
const base = {
|
||||
whitelistEnabled: true,
|
||||
availableAmount: 1000,
|
||||
requestAmount: 200,
|
||||
todayApplied: 0,
|
||||
@@ -256,10 +255,6 @@ describe('validateStoreWithdraw', () => {
|
||||
hasBankAccount: true,
|
||||
};
|
||||
|
||||
it('rejects non-whitelist stores', () => {
|
||||
expect(validateStoreWithdraw({ ...base, whitelistEnabled: false }).ok).toBe(false);
|
||||
});
|
||||
|
||||
it('rejects when daily limit exceeded', () => {
|
||||
expect(
|
||||
validateStoreWithdraw({ ...base, todayApplied: 4900, requestAmount: 200, dailyLimit: 5000 }).ok,
|
||||
|
||||
Reference in New Issue
Block a user