]>
BookStack Code Mirror - bookstack/blobdiff - tests/Entity/CommentTest.php
projects
/
bookstack
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Comments: Removed remaining uses of redundant 'text' field
[bookstack]
/
tests
/
Entity
/
CommentTest.php
diff --git
a/tests/Entity/CommentTest.php
b/tests/Entity/CommentTest.php
index 76e014e80dc340176891128db051a5c40cfdd2d6..eb4bccb7cae955b81fa9159b7456e4f2169be8cf 100644
(file)
--- a/
tests/Entity/CommentTest.php
+++ b/
tests/Entity/CommentTest.php
@@
-18,10
+18,10
@@
class CommentTest extends TestCase
$resp = $this->postJson("/comment/$page->id", $comment->getAttributes());
$resp->assertStatus(200);
$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 = $this->get($page->getUrl());
- $pageResp->assertSee($comment->
text
);
+ $pageResp->assertSee($comment->
html, false
);
$this->assertDatabaseHas('comments', [
'local_id' => 1,
$this->assertDatabaseHas('comments', [
'local_id' => 1,