projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0056ab2
)
api_v3_UtilsTest - Fix regression
author
Tim Otten
<totten@civicrm.org>
Wed, 2 Apr 2014 21:46:08 +0000
(14:46 -0700)
committer
Tim Otten
<totten@civicrm.org>
Sun, 6 Apr 2014 04:26:37 +0000
(21:26 -0700)
tests/phpunit/api/v3/UtilsTest.php
patch
|
blob
|
blame
|
history
diff --git
a/tests/phpunit/api/v3/UtilsTest.php
b/tests/phpunit/api/v3/UtilsTest.php
index 651cc46d7c5811bae857049a1a6ade3cea51aa78..1365c5152781656e8e11a9cfbea1b48741557528 100644
(file)
--- 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;