From 4e83bb098a6f0d246f2ce3f522bf5064cde5b262 Mon Sep 17 00:00:00 2001
From: Marius Hein <marius.hein@netways.de>
Date: Thu, 28 Aug 2014 12:13:30 +0200
Subject: [PATCH] LdapBackendFormTest: Fix mock

refs #5514
---
 .../forms/Config/Authentication/LdapBackendFormTest.php        | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/test/php/application/forms/Config/Authentication/LdapBackendFormTest.php b/test/php/application/forms/Config/Authentication/LdapBackendFormTest.php
index ebd176099..209b7a675 100644
--- a/test/php/application/forms/Config/Authentication/LdapBackendFormTest.php
+++ b/test/php/application/forms/Config/Authentication/LdapBackendFormTest.php
@@ -70,8 +70,7 @@ class LdapBackendFormTest extends BaseTestCase
         Mockery::mock('alias:Icinga\Data\ResourceFactory')
             ->shouldReceive('getResourceConfig')
             ->andReturn(new \Zend_Config(array()))
-            ->shouldReceive('createResource')
-            ->with(Mockery::type('\Zend_Config'))
+            ->shouldReceive('create')
             ->andReturn(Mockery::mock('Icinga\Protocol\Ldap\Connection'));
     }
 }