进行了一些小修复
This commit is contained in:
@@ -46,6 +46,7 @@ test('the purchase card owns one direct stylesheet and no retired paywall path',
|
||||
const widgets = read('assets/widgets/frontend.css');
|
||||
const css = read('assets/css/frontend/pay-box.css');
|
||||
const publicCss = read('assets/css/main.css');
|
||||
const download = read('templates/parts/resource-download-box.php');
|
||||
|
||||
assert.match(assets, /assets\/css\/frontend\/pay-box\.css|\'pay-box\'/);
|
||||
assert.match(shortcodes, /return aksrt_get_paywall_html\(\$post, \['message' => \$message\]\);/);
|
||||
@@ -59,4 +60,6 @@ test('the purchase card owns one direct stylesheet and no retired paywall path',
|
||||
assert.doesNotMatch(retired, /aksrt-post-pay/);
|
||||
assert.doesNotMatch(retired, /str_replace\([\s\S]*aksrt-paywall__desc/);
|
||||
assert.doesNotMatch(pay, /aksrt-paid-(?:gallery|video)__(?:locked|preview|overlay|placeholder|price)/);
|
||||
assert.doesNotMatch(pay + download, /安全检测|支持 VIP 权益|支持积分结算/);
|
||||
assert.doesNotMatch(download, /function_exists\('aksrt_get_pay_service_html'\)/);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user