M5: Workerman 常驻服务 + AI 审核/润色插件 + 支付插件(支付宝/微信/沙箱)+ 会员插件(套餐/订阅/付费文章)

This commit is contained in:
ak
2026-08-11 18:29:35 +08:00
parent f77c96d3aa
commit 1d1df43cee
52 changed files with 1914 additions and 20 deletions
+14 -8
View File
@@ -2,18 +2,24 @@
namespace Tests\Feature;
// use Illuminate\Foundation\Testing\RefreshDatabase;
use Illuminate\Foundation\Testing\RefreshDatabase;
use Tests\TestCase;
class ExampleTest extends TestCase
{
/**
* A basic test example.
*/
public function test_the_application_returns_a_successful_response(): void
{
$response = $this->get('/');
use RefreshDatabase;
$response->assertStatus(200);
/**
* 首页与前台关键页面正常渲染。
*/
public function test_home_page_returns_successful_response(): void
{
$this->seed();
$this->get('/')->assertStatus(200);
$this->get('/archives')->assertStatus(200);
$this->get('/rss.xml')->assertStatus(200);
$this->get('/sitemap.xml')->assertStatus(200);
$this->get('/robots.txt')->assertStatus(200);
}
}