更新
This commit is contained in:
@@ -13,7 +13,7 @@ function conversionFanRuleExpect(bool $condition, string $message): void
|
||||
}
|
||||
}
|
||||
|
||||
$method = new ReflectionMethod(ConversionLogic::class, 'loadFanRows');
|
||||
$method = new ReflectionMethod(ConversionLogic::class, 'loadFanDetailRows');
|
||||
$sourceLines = file($method->getFileName());
|
||||
if ($sourceLines === false) {
|
||||
throw new RuntimeException('无法读取加粉统计源码');
|
||||
@@ -33,7 +33,8 @@ conversionFanRuleExpect(
|
||||
'会话存档同意是独立能力,不能再次成为加粉统计的硬性条件'
|
||||
);
|
||||
conversionFanRuleExpect(
|
||||
str_contains($methodSource, "['del_external_contact', \$endTimestamp]"),
|
||||
str_contains($methodSource, "'del_external_contact'")
|
||||
&& str_contains($methodSource, 'surviving_del.event_time >= surviving_e.event_time'),
|
||||
'加粉统计必须继续识别区间内已删除客户'
|
||||
);
|
||||
conversionFanRuleExpect(
|
||||
|
||||
Reference in New Issue
Block a user