This commit is contained in:
wanghai
2026-06-26 19:20:24 +08:00
parent 2e248de433
commit 058673559c
375 changed files with 34935 additions and 1361 deletions

View File

@@ -0,0 +1,23 @@
<?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);
}
}