From 345e01e381c05bdb9e15b0614fc98ea5ae58930a Mon Sep 17 00:00:00 2001 From: Oliver Klee Date: Sun, 3 Apr 2022 02:25:42 +0200 Subject: [PATCH] [CLEANUP] Drop an unnecessary field in a test (#413) --- .../Unit/Domain/Repository/Product/TeaRepositoryTest.php | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) 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); } /**