Skip to content

Commit

Permalink
skip testArchiveMessages for php 8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidBadura committed Feb 4, 2024
1 parent 068c89a commit f536320
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/Unit/Store/DoctrineDbalStoreTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
use Patchlevel\EventSourcing\Tests\Unit\Fixture\Profile;
use Patchlevel\EventSourcing\Tests\Unit\Fixture\ProfileCreated;
use Patchlevel\EventSourcing\Tests\Unit\Fixture\ProfileId;
use PHPUnit\Framework\Attributes\RequiresPhp;
use PHPUnit\Framework\TestCase;
use Prophecy\Argument;
use Prophecy\PhpUnit\ProphecyTrait;
Expand Down Expand Up @@ -241,6 +242,7 @@ public function testSaveWithOneEvent(): void
$singleTableStore->save($message);
}

#[RequiresPhp('>= 8.2')]
public function testArchiveMessages(): void
{
$serializer = $this->prophesize(EventSerializer::class);
Expand Down

0 comments on commit f536320

Please sign in to comment.