diff --git a/test/php/library/Icinga/Web/FormTest.php b/test/php/library/Icinga/Web/FormTest.php index b43efe452..425137342 100644 --- a/test/php/library/Icinga/Web/FormTest.php +++ b/test/php/library/Icinga/Web/FormTest.php @@ -120,8 +120,6 @@ class FormTest extends BaseTestCase */ public function testWhetherACsrfCounterMeasureIsBeingAdded() { - Mockery::mock('alias:Icinga\Web\Session')->shouldReceive('getSession->getId')->andReturn('1234567890'); - $form = new Form(); $form->create();