Skip to content

Commit

Permalink
Update OutputTest.php
Browse files Browse the repository at this point in the history
  • Loading branch information
VerifiedJoseph committed Mar 28, 2024
1 parent 122568d commit 3b15525
Showing 1 changed file with 0 additions and 34 deletions.
34 changes: 0 additions & 34 deletions tests/OutputTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,6 @@ class OutputTest extends TestCase
*/
private string $text = 'Hello World';

public function setUp(): void
{
Output::disableQuiet();
}

/**
* Test output()
*/
Expand All @@ -24,30 +19,6 @@ public function testOutput(): void
Output::text($this->text);
}

/**
* Test quiet()
*/
public function testQuiet(): void
{
Output::quiet();

$this->expectOutputString('');

Output::text($this->text);
}

/**
* Test disableQuiet()
*/
public function testDisableQuiet(): void
{
Output::disableQuiet();

$this->expectOutputString($this->text . "\n");

Output::text($this->text);
}

/**
* Test newline()
*/
Expand All @@ -57,9 +28,4 @@ public function testNewline(): void

Output::newline();
}

public function tearDown(): void
{
Output::disableQuiet();
}
}

0 comments on commit 3b15525

Please sign in to comment.