Skip to content

Commit

Permalink
chore: Skip BrickLoader test
Browse files Browse the repository at this point in the history
Closes #96

Since composer 2.8.4, InstalledVersions::reload doesn't work.

See composer/composer#12235
  • Loading branch information
Gashmob committed Dec 23, 2024
1 parent 70f4c22 commit 4530dc0
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/unit/Bricks/LoadBricksTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,12 @@ public static function tearDownAfterClass(): void

public function testItLoadBrick(): void
{
$loader = new LoadBricks();
/**
* @see https://github.com/composer/composer/issues/12235
*/
self::markTestSkipped('This test does not pass since composer 2.8.4');

$loader = new LoadBricks(); // @phpstan-ignore deadCode.unreachable
$bricks = $loader->loadInstalledBricks();

self::assertCount(2, $bricks);
Expand Down

0 comments on commit 4530dc0

Please sign in to comment.