Skip to content

Commit

Permalink
Skip test for lower dbal versions
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielBadura committed Mar 27, 2024
1 parent 459d025 commit 02bbf4b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/Unit/Store/DoctrineDbalStoreTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
use Patchlevel\EventSourcing\Tests\Unit\Fixture\ProfileEmailChanged;
use Patchlevel\EventSourcing\Tests\Unit\Fixture\ProfileId;
use PDO;
use PHPUnit\Framework\Attributes\RequiresMethod;
use PHPUnit\Framework\Attributes\RequiresPhp;
use PHPUnit\Framework\TestCase;
use Prophecy\Argument;
Expand Down Expand Up @@ -143,6 +144,7 @@ public function testLoadWithLimit(): void
self::assertSame(null, $stream->position());
}

#[RequiresMethod(AbstractPlatform::class, 'supportsLimitOffset')]
public function testLoadWithOffset(): void
{
$connection = $this->prophesize(Connection::class);
Expand Down Expand Up @@ -233,7 +235,7 @@ public function testLoadWithIndex(): void
->fromPlayhead(0)
->archived(false)
->fromIndex(1)
->build()
->build(),
);

self::assertSame(null, $stream->index());
Expand Down

0 comments on commit 02bbf4b

Please sign in to comment.