Skip to content

Commit 6e8d82e

Browse files
committed
fix: Rename class to match PSR-4 autoloading standards.
1 parent b05990f commit 6e8d82e

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

tests/Infrastructure/InMemory/RepositoryTest.php

+7-7
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
/**
1515
* Test subject.
1616
*/
17-
class InMemoryTestRepository extends InMemoryRepository
17+
class TestRepository extends InMemoryRepository
1818
{
1919
public function __construct()
2020
{
@@ -27,7 +27,7 @@ public function setItems(array $items): void
2727
}
2828
}
2929

30-
class InMemoryRepositoryTest extends TestCase
30+
class RepositoryTest extends TestCase
3131
{
3232
/**
3333
* @var Counter[]
@@ -68,7 +68,7 @@ public function __construct()
6868
public function testCollectAndCount(): void
6969
{
7070
// Given
71-
$repository = new InMemoryTestRepository();
71+
$repository = new TestRepository();
7272
$repository->setItems($this->items);
7373

7474
// When
@@ -80,13 +80,13 @@ public function testCollectAndCount(): void
8080
}
8181

8282
/**
83-
* @covers \GeekCell\Ddd\Infrastructure\InMemoryRepository::paginate
84-
* @covers \GeekCell\Ddd\Infrastructure\InMemoryRepository::count
83+
* @covers \GeekCell\Ddd\Infrastructure\Repository::paginate
84+
* @covers \GeekCell\Ddd\Infrastructure\Repository::count
8585
*/
8686
public function testPaginateAndCount(): void
8787
{
8888
// Given
89-
$repository = new InMemoryTestRepository();
89+
$repository = new TestRepository();
9090
$repository->setItems($this->items);
9191

9292
// When
@@ -100,7 +100,7 @@ public function testPaginateAndCount(): void
100100
public function testGetIterator(): void
101101
{
102102
// Given
103-
$repository = new InMemoryTestRepository();
103+
$repository = new TestRepository();
104104
$repository->setItems($this->items);
105105
$collection = $repository->collect();
106106

0 commit comments

Comments
 (0)