From cde12543a93dbc6097d1eaf15a5a3cfd5545d209 Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Wed, 2 Apr 2014 14:46:08 -0700 Subject: [PATCH] api_v3_UtilsTest - Fix regression --- tests/phpunit/api/v3/UtilsTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/phpunit/api/v3/UtilsTest.php b/tests/phpunit/api/v3/UtilsTest.php index 651cc46d7c..1365c51527 100644 --- a/tests/phpunit/api/v3/UtilsTest.php +++ b/tests/phpunit/api/v3/UtilsTest.php @@ -117,7 +117,7 @@ class api_v3_UtilsTest extends CiviUnitTestCase { $dispatcher = new \Symfony\Component\EventDispatcher\EventDispatcher(); $dispatcher->addSubscriber(new \Civi\API\Subscriber\PermissionCheck()); $kernel = new \Civi\API\Kernel($dispatcher); - $apiRequest = $kernel->createRequest($entity, $action, $params, NULL); + $apiRequest = \Civi\API\Request::create($entity, $action, $params, NULL); try { $kernel->authorize(NULL, $apiRequest); return TRUE; -- 2.25.1