This commit is contained in:
hashbro
2026-08-09 02:08:42 +08:00
parent 74a67c3900
commit 5c7600744e
24 changed files with 1510 additions and 70 deletions
+2 -1
View File
@@ -566,7 +566,8 @@ class C2ApiTest extends TestCase
]);
$this->post('/admin/login', ['username' => 'admin', 'password' => 'admin123'])
->assertRedirect(route('admin.home'));
->assertOk()
->assertJson(['code' => 0, 'data' => route('admin.home')]);
$this->get('/admin')
->assertOk()