-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
6 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,15 +9,16 @@ | |
* file that was distributed with this source code. | ||
*/ | ||
|
||
namespace Zenstruck\Collection\Tests\Doctrine\ORM; | ||
namespace Zenstruck\Collection\Tests\Doctrine\ORM\Bridge; | ||
|
||
use Zenstruck\Collection\Doctrine\ORM\Bridge\ORMEntityRepository; | ||
use Zenstruck\Collection\Tests\Doctrine\Fixture\Entity; | ||
use Zenstruck\Collection\Tests\Doctrine\ORM\Fixture\EntityRepositoryWithBridge; | ||
use Zenstruck\Collection\Tests\Doctrine\ORM\EntityRepositoryTest; | ||
|
||
/** | ||
* @author Kevin Bond <[email protected]> | ||
*/ | ||
final class EntityRepositoryBridgeTest extends EntityRepositoryTest | ||
final class ORMEntityRepositoryTest extends EntityRepositoryTest | ||
{ | ||
/** | ||
* @test | ||
|
@@ -37,8 +38,8 @@ public function find_all_is_empty_if_repository_is_empty(): void | |
$this->assertSame([], $this->createWithItems(0)->findAll()); | ||
} | ||
|
||
protected function repo(): EntityRepositoryWithBridge | ||
protected function repo(): ORMEntityRepository | ||
{ | ||
return new EntityRepositoryWithBridge($this->em, $this->em->getClassMetadata(Entity::class)); | ||
return new ORMEntityRepository($this->em, $this->em->getClassMetadata(Entity::class)); | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.