diff --git a/test/Cases/ContentTest.php b/test/Cases/ContentTest.php index c0808fc..24f926e 100644 --- a/test/Cases/ContentTest.php +++ b/test/Cases/ContentTest.php @@ -12,6 +12,7 @@ namespace Cases; +use App\Constants\ContentType; use App\Service\SubService\UserAuth; use HyperfTest\HttpTestCase; @@ -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', ], [