mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-06-01 22:39:13 +08:00
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:
@ -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,
|
||||
|
Reference in New Issue
Block a user