mirror of
https://gitee.com/ShopeX/ECShopX
synced 2026-06-29 11:25:36 +08:00
24 lines
724 B
PHP
24 lines
724 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Tests\DistributionBundle;
|
|
|
|
use DistributionBundle\Services\DistributorCloudShopStatusGuard;
|
|
use PHPUnit\Framework\TestCase;
|
|
|
|
final class DistributorCloudShopStatusGuardTest extends TestCase
|
|
{
|
|
public function testIsValidValuesForCloudAllListFilterIncludesLegacyNumericStrings(): void
|
|
{
|
|
$values = DistributorCloudShopStatusGuard::isValidValuesForCloudAllListFilter();
|
|
|
|
$this->assertContains('true', $values);
|
|
$this->assertContains('false', $values);
|
|
$this->assertContains('closed', $values);
|
|
$this->assertContains('1', $values);
|
|
$this->assertContains('0', $values);
|
|
$this->assertNotContains('delete', $values);
|
|
}
|
|
}
|