Skip to content

Commit ce3c9ab

Browse files
committed
add test
1 parent e914a91 commit ce3c9ab

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/Rules/Doctrine/NoDocumentMockingRule/NoDocumentMockingRuleTest.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
use PHPStan\Rules\Rule;
1717
use PHPStan\Testing\RuleTestCase;
1818
use PHPUnit\Framework\Attributes\DataProvider;
19+
use Symplify\PHPStanRules\Rules\Doctrine\NoDocumentMockingRule;
1920
use Symplify\PHPStanRules\Rules\Doctrine\NoGetRepositoryOnServiceRepositoryEntityRule;
2021
use Symplify\PHPStanRules\Tests\Rules\Doctrine\NoGetRepositoryOnServiceRepositoryEntityRule\Source\Repository\SomeServiceRepository;
2122
>>>>>>> 0ffdc220 (add test)
@@ -66,9 +67,13 @@ protected function getRule(): Rule
6667
=======
6768
protected function getRule(): Rule
6869
{
70+
<<<<<<< HEAD
6971
$reflectionProvider = self::getContainer()->getByType(ReflectionProvider::class);
7072

7173
return new NoGetRepositoryOnServiceRepositoryEntityRule($reflectionProvider);
7274
>>>>>>> 0ffdc220 (add test)
75+
=======
76+
return new NoDocumentMockingRule();
77+
>>>>>>> d892b6fc (add test)
7378
}
7479
}

0 commit comments

Comments
 (0)