Skip to content

Commit

Permalink
Tests: Remove truncation message assertions.
Browse files Browse the repository at this point in the history
  • Loading branch information
costdev committed Jan 8, 2025
1 parent b8ac7b5 commit bf6db5c
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions tests/phpunit/tests/Debug/Debug_ReadTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -166,18 +166,6 @@ public function test_should_add_a_truncation_message_when_log_file_has_more_line
$actual,
'An incorrect number of entries was returned.'
);

$entry = reset( $actual );
$this->assertIsString(
$entry,
'The entry is not a string.'
);

$this->assertStringContainsString(
'Log truncated',
$entry,
'The truncation message was not returned.'
);
}

/**
Expand All @@ -202,12 +190,6 @@ public function test_should_not_add_a_truncation_message_when_log_file_has_the_s
$actual,
'An incorrect number of entries was returned.'
);

$this->assertNotContains(
'Log truncated',
$actual,
'The truncation message was added.'
);
}

/**
Expand All @@ -232,11 +214,5 @@ public function test_should_not_add_a_truncation_message_when_log_file_has_fewer
$actual,
'An incorrect number of entries was returned.'
);

$this->assertNotContains(
'Log truncated',
$actual,
'The truncation message was added.'
);
}
}

0 comments on commit bf6db5c

Please sign in to comment.