进行了一些小修复

This commit is contained in:
2026-08-26 15:29:37 +08:00
parent ae10b3d3fd
commit 562beb15cf
6 changed files with 206 additions and 43 deletions
@@ -23,9 +23,18 @@ test('paid article and sidebar widget use the Zibll purchase-card DOM', () => {
assert.match(pay, /price-box/);
assert.match(pay, /vip-price-buts but-average inline/);
assert.match(pay, /cashier-link/);
assert.match(pay, /function aksrt_get_paid_box_html/);
assert.match(pay, /pay-box zib-widget paid-box order-type-/);
assert.match(pay, /flex ac jb-green padding-10 em09/);
assert.match(pay, /订单号/);
assert.match(pay, /支付时间/);
assert.match(pay, /支付金额/);
assert.match(pay, /hidden-box show/);
assert.match(widget, /'layout' => 'widget'/);
assert.match(shell, /\['post_pay', 'tab_posts'/);
assert.doesNotMatch(single, /aksrt-panel pay-box pay-type-download/);
assert.doesNotMatch(single, /get_template_part\('templates\/parts\/resource-download-box'\)/);
assert.match(single, /aksrt_get_paid_box_html\(\$post\)/);
assert.doesNotMatch(hooks, /aksrt_paid_content_enhance/);
});