Skip to content

Commit

Permalink
Skip integration tests on PHP 8.4
Browse files Browse the repository at this point in the history
  • Loading branch information
nunomaduro committed Oct 15, 2024
1 parent 4dc3660 commit f5c101b
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/Unit/Adapters/ArtisanTestCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@

class ArtisanTestCommandTest extends TestCase
{
public function setUp(): void
{
if (PHP_VERSION_ID >= 80400) {
$this->markTestSkipped('Test skipped on PHP 8.4');
}
}

#[Test]
public function testCoverage(): void
{
Expand Down
7 changes: 7 additions & 0 deletions tests/Unit/Adapters/LaravelTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@

class LaravelTest extends TestCase
{
public function setUp(): void
{
if (PHP_VERSION_ID >= 80400) {
$this->markTestSkipped('Test skipped on PHP 8.4');
}
}

#[Test]
public function itIsRegisteredOnArtisan(): void
{
Expand Down
7 changes: 7 additions & 0 deletions tests/Unit/Adapters/PhpunitTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@

class PhpunitTest extends TestCase
{
public function setUp(): void
{
if (PHP_VERSION_ID >= 80400) {
$this->markTestSkipped('Test skipped on PHP 8.4');
}
}

#[Test]
public function itIsAPrinter(): void
{
Expand Down

0 comments on commit f5c101b

Please sign in to comment.