Skip to content

Commit d46b2da

Browse files
authored
Merge pull request #367 from norkunas/cleanup
Remove unused test method
2 parents e38bad8 + 257a628 commit d46b2da

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

tests/BaseKernelTestCase.php

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
use Doctrine\ORM\Tools\SchemaTool;
99
use Meilisearch\Bundle\Collection;
1010
use Meilisearch\Bundle\SearchService;
11-
use Meilisearch\Bundle\Tests\Entity\Post;
1211
use Meilisearch\Client;
1312
use Meilisearch\Exceptions\ApiException;
1413
use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
@@ -35,16 +34,6 @@ protected function setUp(): void
3534
$this->cleanUp();
3635
}
3736

38-
protected function createPost(): Post
39-
{
40-
$post = new Post('Test Post', 'Test content post');
41-
42-
$this->entityManager->persist($post);
43-
$this->entityManager->flush();
44-
45-
return $post;
46-
}
47-
4837
protected function getPrefix(): string
4938
{
5039
return $this->searchService->getConfiguration()->get('prefix');

0 commit comments

Comments
 (0)