fix: remove unused promotion readiness dependency
This commit is contained in:
parent
f9e44a8376
commit
0a0b139e60
@ -49,7 +49,7 @@ return [
|
||||
'operations_replica.rpt.fys_TrademarkInfo' => ['role' => 'dimension', 'target_store' => 'mariadb', 'consumer' => '商标资料'],
|
||||
'operations_replica.rpt.jst_sku' => ['role' => 'dimension', 'target_store' => 'mariadb', 'consumer' => '商品资料/售后费用'],
|
||||
'operations_replica.rpt.jst_warehouseInfo' => ['role' => 'dimension', 'target_store' => 'mariadb', 'consumer' => '售后费用'],
|
||||
'operations_replica.rpt.jst_shopInfo' => ['role' => 'dimension', 'target_store' => 'mariadb', 'consumer' => '推广费用'],
|
||||
'operations_replica.rpt.jst_shopInfo' => ['role' => 'dimension', 'target_store' => 'mariadb', 'consumer' => '预留聚水潭店铺维表'],
|
||||
|
||||
// Large analytical facts move to ClickHouse after a MariaDB backfill.
|
||||
'operations_replica.rpt.jst_Orders' => [
|
||||
|
||||
@ -19,7 +19,6 @@ class OrderDataMirrorRepository
|
||||
|
||||
private const PROMOTION_DATASETS = [
|
||||
'operations_replica.rpt.ads_itemid_sales_cost_ratio_v2_di',
|
||||
'operations_replica.rpt.jst_shopInfo',
|
||||
];
|
||||
|
||||
private readonly ConnectionInterface $connection;
|
||||
|
||||
@ -107,7 +107,7 @@ class OrderDataMirrorRepositoryTest extends TestCase
|
||||
$datasets = app(BusinessMirrorDatasetRegistry::class);
|
||||
$mirror = Mockery::mock(GenericBusinessMirrorRepository::class);
|
||||
$mirror->shouldReceive('connection')->andReturn(DB::connection('business_mirror'));
|
||||
$mirror->shouldReceive('ready')->twice()->andReturnTrue();
|
||||
$mirror->shouldReceive('ready')->once()->andReturnTrue();
|
||||
|
||||
$this->assertTrue((new OrderDataMirrorRepository($datasets, $mirror))->promotionReady());
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user