Skip to content

Commit c78c779

Browse files
committed
Make the test data more focused.
1 parent 7628afd commit c78c779

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

tests/Unit/OutputFormatterTest.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -436,8 +436,6 @@ public function commentsWithCommentableWithOneCommentAndRenderCommentsDisabledRe
436436
public function commentsWithCommentableWithOneCommentRendersComment(): void
437437
{
438438
$this->outputFormat->setRenderComments(true);
439-
$this->outputFormat->setSpaceBetweenBlocks(' between-space ');
440-
$this->outputFormat->setSpaceAfterBlocks(' after-space ');
441439

442440
$commentText = 'I am a teapot.';
443441
$comment = new Comment($commentText);
@@ -455,7 +453,6 @@ public function commentsWithCommentableWithOneCommentRendersComment(): void
455453
public function commentsWithCommentableWithOneCommentPutsSpaceAfterBlocksAfterRenderedComment(): void
456454
{
457455
$this->outputFormat->setRenderComments(true);
458-
$this->outputFormat->setSpaceBetweenBlocks(' between-space ');
459456
$afterSpace = ' after-space ';
460457
$this->outputFormat->setSpaceAfterBlocks($afterSpace);
461458

@@ -475,7 +472,6 @@ public function commentsWithCommentableWithOneCommentPutsSpaceAfterBlocksAfterRe
475472
public function commentsWithCommentableWithTwoCommentsPutsSpaceAfterBlocksAfterLastRenderedComment(): void
476473
{
477474
$this->outputFormat->setRenderComments(true);
478-
$this->outputFormat->setSpaceBetweenBlocks(' between-space ');
479475
$afterSpace = ' after-space ';
480476
$this->outputFormat->setSpaceAfterBlocks($afterSpace);
481477

@@ -499,7 +495,6 @@ public function commentsWithCommentableWithTwoCommentsSeparatesCommentsBySpaceBe
499495
$this->outputFormat->setRenderComments(true);
500496
$betweenSpace = ' between-space ';
501497
$this->outputFormat->setSpaceBetweenBlocks($betweenSpace);
502-
$this->outputFormat->setSpaceAfterBlocks(' after-space ');
503498

504499
$commentText1 = 'I am a teapot.';
505500
$comment1 = new Comment($commentText1);
@@ -520,7 +515,6 @@ public function commentsWithCommentableWithTwoCommentsSeparatesCommentsBySpaceBe
520515
public function commentsWithCommentableWithMoreThanTwoCommentsPutsSpaceAfterBlocksAfterLastRenderedComment(): void
521516
{
522517
$this->outputFormat->setRenderComments(true);
523-
$this->outputFormat->setSpaceBetweenBlocks(' between-space ');
524518
$afterSpace = ' after-space ';
525519
$this->outputFormat->setSpaceAfterBlocks($afterSpace);
526520

@@ -546,7 +540,6 @@ public function commentsWithCommentableWithMoreThanTwoCommentsSeparatesCommentsB
546540
$this->outputFormat->setRenderComments(true);
547541
$betweenSpace = ' between-space ';
548542
$this->outputFormat->setSpaceBetweenBlocks($betweenSpace);
549-
$this->outputFormat->setSpaceAfterBlocks(' after-space ');
550543

551544
$commentText1 = 'I am a teapot.';
552545
$comment1 = new Comment($commentText1);

0 commit comments

Comments
 (0)