mirror of
https://gitee.com/ShopeX/ECShopX
synced 2026-08-11 21:55:32 +08:00
4.7.0
This commit is contained in:
17
tests/ShuyunOpenPlatform/ShuyunOpenPlatformRoutesTest.php
Normal file
17
tests/ShuyunOpenPlatform/ShuyunOpenPlatformRoutesTest.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Tests\ShuyunOpenPlatform;
|
||||
|
||||
/** @see .tasks/plans/shuyun-offline-only.md TC-API-DEL-01 */
|
||||
class ShuyunOpenPlatformRoutesTest extends \TestCase
|
||||
{
|
||||
public function testPlatformRegisterRouteRemoved(): void
|
||||
{
|
||||
$apiRoutes = (string) file_get_contents(dirname(__DIR__, 2).'/routes/api/shuyun_open_platform.php');
|
||||
$this->assertStringNotContainsString('platform/register', $apiRoutes);
|
||||
$this->assertStringNotContainsString('shuyun.open_platform.platform.register', $apiRoutes);
|
||||
$this->assertStringNotContainsString('postCreatePlatform', $apiRoutes);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user