Files
ECShopX/tests/PosPaymentVoucherPersistStructureTest.php
wanghai 058673559c 4.7.0
2026-06-26 19:20:24 +08:00

17 lines
569 B
PHP
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?php
/**
* store-ops-buy-now-cloud-stockPOS 凭证落库与支付入口(结构断言)
*/
class PosPaymentVoucherPersistStructureTest extends TestCase
{
public function testPaymentServicePersistsVoucherAfterPosSuccess(): void
{
$src = file_get_contents(__DIR__ . '/../src/PaymentBundle/Services/PaymentService.php');
$this->assertStringContainsString('pos_payment_voucher_url', $src);
$this->assertStringContainsString('PosPaymentVoucherValidator', $src);
$this->assertStringContainsString("=== 'pos'", $src);
}
}