Skip to content

Commit

Permalink
Remove AddFields stubs
Browse files Browse the repository at this point in the history
  • Loading branch information
GromNaN committed Jan 17, 2025
1 parent 4932f30 commit adc939b
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 27 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@
"doctrine/common": "^3.2.2",
"doctrine/dbal": "^4.0",
"doctrine/doctrine-bundle": "^2.11",
"doctrine/mongodb-odm": "^2.6",
"doctrine/mongodb-odm": "^2.9.2",
"doctrine/mongodb-odm-bundle": "^4.0 || ^5.0",
"doctrine/orm": "^2.17 || ^3.0",
"elasticsearch/elasticsearch": "^8.4",
Expand Down
3 changes: 0 additions & 3 deletions src/Doctrine/Odm/Tests/Extension/PaginationExtensionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,6 @@ class PaginationExtensionTest extends TestCase
*/
protected function setUp(): void
{
// This class is final, but we need to mock it
require_once __DIR__.'/../stubs/AddFields.php';

$this->managerRegistryProphecy = $this->prophesize(ManagerRegistry::class);
}

Expand Down
1 change: 0 additions & 1 deletion src/Doctrine/Odm/Tests/PaginatorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@

use ApiPlatform\Doctrine\Odm\Paginator;
use ApiPlatform\Doctrine\Odm\Tests\Fixtures\Document\Dummy;
use ApiPlatform\Metadata\Exception\InvalidArgumentException;
use ApiPlatform\Metadata\Exception\RuntimeException;
use Doctrine\ODM\MongoDB\DocumentManager;
use Doctrine\ODM\MongoDB\Iterator\Iterator;
Expand Down
22 changes: 0 additions & 22 deletions src/Doctrine/Odm/Tests/stubs/AddFields.php

This file was deleted.

0 comments on commit adc939b

Please sign in to comment.