core/modules/rest/tests/src/Unit/Plugin/views/style/SerializerTest.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/modules/rest/tests/src/Unit/Plugin/views/style/SerializerTest.php b/core/modules/rest/tests/src/Unit/Plugin/views/style/SerializerTest.php index d93f649..9be1cdc 100644 --- a/core/modules/rest/tests/src/Unit/Plugin/views/style/SerializerTest.php +++ b/core/modules/rest/tests/src/Unit/Plugin/views/style/SerializerTest.php @@ -39,7 +39,6 @@ class SerializerTest extends UnitTestCase { protected function setUp() { parent::setUp(); - $this->view = $this->getMockBuilder(ViewExecutable::class) ->disableOriginalConstructor() ->getMock(); @@ -63,7 +62,6 @@ protected function setUp() { * @covers ::render */ public function testSerializerReceivesOptions() { - $mock_serializer = $this->prophesize(SerializerInterface::class); // This is the main expectation of the test. We want to make sure the @@ -78,4 +76,5 @@ public function testSerializerReceivesOptions() { $view_serializer_style->displayHandler = $this->displayHandler; $view_serializer_style->render(); } + }