Skip to content

Commit

Permalink
Replace TestCase::assertTrue(true) with `TestCase::expectNotToPerfo…
Browse files Browse the repository at this point in the history
…rmAssertions()`
  • Loading branch information
alexandre-daubois committed Jul 22, 2024
1 parent f076e3c commit 7e49589
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Tests/Iterator/RecursiveDirectoryIteratorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,10 @@ protected function setUp(): void
*/
public function testRewindOnFtp()
{
$i = new RecursiveDirectoryIterator('ftp://speedtest:speedtest@ftp.otenet.gr/', \RecursiveDirectoryIterator::SKIP_DOTS);
$this->expectNotToPerformAssertions();

$i = new RecursiveDirectoryIterator('ftp://speedtest:speedtest@ftp.otenet.gr/', \RecursiveDirectoryIterator::SKIP_DOTS);
$i->rewind();

$this->assertTrue(true);
}

/**
Expand Down

0 comments on commit 7e49589

Please sign in to comment.