Skip to content

Commit

Permalink
修复单测
Browse files Browse the repository at this point in the history
  • Loading branch information
limingxinleo committed Mar 28, 2024
1 parent 5970144 commit b043640
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/Cases/ContentTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

namespace Cases;

use App\Constants\ContentType;
use App\Service\SubService\UserAuth;
use HyperfTest\HttpTestCase;

Expand All @@ -26,6 +27,7 @@ public function testContentSave()
$res = $this->json('/content/save', [
'id' => 1,
'secret_id' => 1,
'type' => ContentType::TEXT->value,
'title' => 'Hello',
'content' => 'World',
], [
Expand Down

0 comments on commit b043640

Please sign in to comment.