Skip to content

Commit

Permalink
Pagerfanta v4.x compatibility (FriendsOfSymfony#1908)
Browse files Browse the repository at this point in the history
* Pagerfanta v4.x compatibility

* Fix testsuite
  • Loading branch information
evertharmeling authored Jun 22, 2023
1 parent 5dd16e0 commit f44abba
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"homepage": "https://github.com/FriendsOfSymfony/FOSElasticaBundle",
"require": {
"php": "^7.4 || ^8.0",
"pagerfanta/pagerfanta": "^2.4 || ^3.0",
"pagerfanta/pagerfanta": "^2.4 || ^3.0 || ^4.0",
"psr/log": "^1.0 || ^2.0 || ^3.0",
"ruflin/elastica": "^7.1",
"symfony/console": "^4.4 || ^5.4 || ^6.2",
Expand Down
1 change: 0 additions & 1 deletion tests/Unit/Doctrine/MongoDBPagerProviderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ public function testShouldReturnPagerfanataPagerWithDoctrineODMMongoDBAdapter()

$adapter = $pager->getPagerfanta()->getAdapter();
$this->assertInstanceOf(QueryAdapter::class, $adapter);
$this->assertSame($expectedBuilder, $adapter->getQueryBuilder());
}

public function testShouldAllowCallCustomRepositoryMethod()
Expand Down
1 change: 0 additions & 1 deletion tests/Unit/Doctrine/PHPCRPagerProviderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ public function testShouldReturnPagerfanataPagerWithDoctrineODMMongoDBAdapter()

$adapter = $pager->getPagerfanta()->getAdapter();
$this->assertInstanceOf(QueryAdapter::class, $adapter);
$this->assertSame($expectedBuilder, $adapter->getQueryBuilder());
}

public function testShouldAllowCallCustomRepositoryMethod()
Expand Down

0 comments on commit f44abba

Please sign in to comment.