diff --git a/Tests/Unit/Domain/Repository/Product/TeaRepositoryTest.php b/Tests/Unit/Domain/Repository/Product/TeaRepositoryTest.php index 73891d7..af63529 100644 --- a/Tests/Unit/Domain/Repository/Product/TeaRepositoryTest.php +++ b/Tests/Unit/Domain/Repository/Product/TeaRepositoryTest.php @@ -19,17 +19,12 @@ class TeaRepositoryTest extends UnitTestCase */ private $subject; - /** - * @var ObjectManagerInterface - */ - protected $objectManager; - protected function setUp(): void { parent::setUp(); - $this->objectManager = $this->prophesize(ObjectManagerInterface::class)->reveal(); - $this->subject = new TeaRepository($this->objectManager); + $objectManager = $this->prophesize(ObjectManagerInterface::class)->reveal(); + $this->subject = new TeaRepository($objectManager); } /**