Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Use full coverage test setup methods
  • Loading branch information
AndrewFeeney committed Jan 22, 2024
commit 408ec716f9542041552dcf77aff274ed2459a701
4 changes: 2 additions & 2 deletions tests/tests/Data/ProcessedCodeCoverageDataMapperTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ final class ProcessedCodeCoverageDataMapperTest extends TestCase
{
public function testToJson(): void
{
$coverage = $this->getLineCoverageForBankAccountForFirstTwoTests()->getData();
$coverage = $this->getLineCoverageForBankAccount()->getData();
$dataMapper = new ProcessedCodeCoverageDataMapper();
$json = $dataMapper->toJson($coverage);

Expand All @@ -31,7 +31,7 @@ public function testFromJson(): void
{
// Doing it this way while the JSON format is being developed, though
// I expect we'd have a fixture file in the future
$coverage = $this->getLineCoverageForBankAccountForFirstTwoTests()->getData();
$coverage = $this->getLineCoverageForBankAccount()->getData();
$dataMapper = new ProcessedCodeCoverageDataMapper();
$json = $dataMapper->toJson($coverage);

Expand Down