Skip to content

Commit

Permalink
fix bad merge
Browse files Browse the repository at this point in the history
  • Loading branch information
staabm committed Feb 15, 2025
1 parent 1892321 commit a078ae1
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions src/Framework/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -179,13 +179,13 @@ abstract class TestCase extends Assert implements Reorderable, SelfDescribing, T
private bool $outputBufferingActive = false;
private int $outputBufferingLevel;
private bool $outputRetrievedForAssertion = false;
private bool $doesNotPerformAssertions = false;
private string $errorLogOutput = '';
private bool $expectsErrorLog = false;
private ?string $errorLogPrevious = null;

/** @var null|resource */
private $errorLogResource;
private bool $doesNotPerformAssertions = false;

/**
* @var list<Comparator>
Expand Down Expand Up @@ -576,19 +576,6 @@ final public function runBare(): void
$this->assertEmpty($this->errorLogOutput);
}

if ($this->status->isSuccess()) {
$emitter->testPassed(
$this->valueObjectForEvents(),
);

if (!$this->usesDataProvider()) {
PassedTests::instance()->testMethodPassed(
$this->valueObjectForEvents(),
$this->testResult,
);
}
}

try {
$this->mockObjects = [];

Expand Down

0 comments on commit a078ae1

Please sign in to comment.