Comments: Removed remaining uses of redundant 'text' field

Opened #4821 to remove the DB field in a few releases time.
This commit is contained in:
Dan Brown
2024-01-31 16:35:58 +00:00
parent 06901b878f
commit fee9045dac
4 changed files with 6 additions and 11 deletions

View File

@ -18,10 +18,10 @@ class CommentTest extends TestCase
$resp = $this->postJson("/comment/$page->id", $comment->getAttributes());
$resp->assertStatus(200);
$resp->assertSee($comment->text);
$resp->assertSee($comment->html, false);
$pageResp = $this->get($page->getUrl());
$pageResp->assertSee($comment->text);
$pageResp->assertSee($comment->html, false);
$this->assertDatabaseHas('comments', [
'local_id' => 1,