From 38539aa9edc6f84c9211c7689f7e099e85099cc4 Mon Sep 17 00:00:00 2001 From: Kevin Frantz Date: Wed, 31 Oct 2018 13:29:52 +0100 Subject: [PATCH] Optimized coverage for AbstractOperation --- .../unit/Entity/Source/Operation/AbstractOperationTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/tests/unit/Entity/Source/Operation/AbstractOperationTest.php b/application/tests/unit/Entity/Source/Operation/AbstractOperationTest.php index ceb860b..1e24676 100644 --- a/application/tests/unit/Entity/Source/Operation/AbstractOperationTest.php +++ b/application/tests/unit/Entity/Source/Operation/AbstractOperationTest.php @@ -44,7 +44,7 @@ class AbstractOperationTest extends TestCase }; $operands = new ArrayCollection(); $operands->add($operand); - $this->operation->setOperands($operands); + $this->assertNull($this->operation->setOperands($operands)); $this->assertEquals($operand, $this->operation->getOperands() ->get(0)); }