mirror of
https://gitee.com/ShopeX/ECShopX
synced 2026-08-11 13:45:33 +08:00
4.7.0
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Tests\ThirdPartyBundle;
|
||||
|
||||
class TradeFinishSendSaasErpPostPayReadinessTest extends \TestCase
|
||||
{
|
||||
public function testTradeFinishSendSaasErpRetriesWhenOrderNotReadyAfterPay(): void
|
||||
{
|
||||
$path = dirname(__DIR__, 2).'/src/ThirdPartyBundle/Listeners/TradeFinishSendSaasErp.php';
|
||||
$src = (string) file_get_contents($path);
|
||||
|
||||
$this->assertStringContainsString('OrderPostPayIntegrationReadinessService', $src);
|
||||
$this->assertStringContainsString('ORDER_NOT_READY_RETRY_MAX_ATTEMPTS', $src);
|
||||
$this->assertStringContainsString('saaserp TradeFinishSendSaasErp order not ready after pay, will retry.', $src);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user