Skip to content

Commit 7628afd

Browse files
committed
Fun with comments.
1 parent 36b6079 commit 7628afd

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

tests/Unit/OutputFormatterTest.php

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ public function commentsWithCommentableWithOneCommentAndRenderCommentsDisabledRe
420420
$this->outputFormat->setSpaceBetweenBlocks(' between-space ');
421421
$this->outputFormat->setSpaceAfterBlocks(' after-space ');
422422

423-
$commentText = 'This is a comment.';
423+
$commentText = 'I am a teapot.';
424424
$comment = new Comment($commentText);
425425
$commentable = $this->createMock(Commentable::class);
426426
$commentable->method('getComments')->willReturn([$comment]);
@@ -439,7 +439,7 @@ public function commentsWithCommentableWithOneCommentRendersComment(): void
439439
$this->outputFormat->setSpaceBetweenBlocks(' between-space ');
440440
$this->outputFormat->setSpaceAfterBlocks(' after-space ');
441441

442-
$commentText = 'This is a comment.';
442+
$commentText = 'I am a teapot.';
443443
$comment = new Comment($commentText);
444444
$commentable = $this->createMock(Commentable::class);
445445
$commentable->method('getComments')->willReturn([$comment]);
@@ -459,7 +459,7 @@ public function commentsWithCommentableWithOneCommentPutsSpaceAfterBlocksAfterRe
459459
$afterSpace = ' after-space ';
460460
$this->outputFormat->setSpaceAfterBlocks($afterSpace);
461461

462-
$commentText = 'This is a comment.';
462+
$commentText = 'I am a teapot.';
463463
$comment = new Comment($commentText);
464464
$commentable = $this->createMock(Commentable::class);
465465
$commentable->method('getComments')->willReturn([$comment]);
@@ -479,9 +479,9 @@ public function commentsWithCommentableWithTwoCommentsPutsSpaceAfterBlocksAfterL
479479
$afterSpace = ' after-space ';
480480
$this->outputFormat->setSpaceAfterBlocks($afterSpace);
481481

482-
$commentText1 = 'This is a comment 1.';
482+
$commentText1 = 'I am a teapot.';
483483
$comment1 = new Comment($commentText1);
484-
$commentText2 = 'This is a comment 2.';
484+
$commentText2 = 'But I am not.';
485485
$comment2 = new Comment($commentText2);
486486
$commentable = $this->createMock(Commentable::class);
487487
$commentable->method('getComments')->willReturn([$comment1, $comment2]);
@@ -501,9 +501,9 @@ public function commentsWithCommentableWithTwoCommentsSeparatesCommentsBySpaceBe
501501
$this->outputFormat->setSpaceBetweenBlocks($betweenSpace);
502502
$this->outputFormat->setSpaceAfterBlocks(' after-space ');
503503

504-
$commentText1 = 'This is a comment 1.';
504+
$commentText1 = 'I am a teapot.';
505505
$comment1 = new Comment($commentText1);
506-
$commentText2 = 'You like pears.';
506+
$commentText2 = 'But I am not.';
507507
$comment2 = new Comment($commentText2);
508508
$commentable = $this->createMock(Commentable::class);
509509
$commentable->method('getComments')->willReturn([$comment1, $comment2]);
@@ -524,11 +524,11 @@ public function commentsWithCommentableWithMoreThanTwoCommentsPutsSpaceAfterBloc
524524
$afterSpace = ' after-space ';
525525
$this->outputFormat->setSpaceAfterBlocks($afterSpace);
526526

527-
$commentText1 = 'This is a comment 1.';
527+
$commentText1 = 'I am a teapot.';
528528
$comment1 = new Comment($commentText1);
529-
$commentText2 = 'This is a comment 2.';
529+
$commentText2 = 'But I am what.';
530530
$comment2 = new Comment($commentText2);
531-
$commentText3 = 'This is a comment 3.';
531+
$commentText3 = 'So what am I then?';
532532
$comment3 = new Comment($commentText3);
533533
$commentable = $this->createMock(Commentable::class);
534534
$commentable->method('getComments')->willReturn([$comment1, $comment2, $comment3]);
@@ -548,11 +548,11 @@ public function commentsWithCommentableWithMoreThanTwoCommentsSeparatesCommentsB
548548
$this->outputFormat->setSpaceBetweenBlocks($betweenSpace);
549549
$this->outputFormat->setSpaceAfterBlocks(' after-space ');
550550

551-
$commentText1 = 'This is a comment 1.';
551+
$commentText1 = 'I am a teapot.';
552552
$comment1 = new Comment($commentText1);
553-
$commentText2 = 'This is a comment 2.';
553+
$commentText2 = 'But I am what.';
554554
$comment2 = new Comment($commentText2);
555-
$commentText3 = 'This is a comment 3.';
555+
$commentText3 = 'So what am I then?';
556556
$comment3 = new Comment($commentText3);
557557
$commentable = $this->createMock(Commentable::class);
558558
$commentable->method('getComments')->willReturn([$comment1, $comment2, $comment3]);

0 commit comments

Comments
 (0)