projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #4721 from maxateff/apiexplorer-link
[civicrm-core.git]
/
tests
/
phpunit
/
WebTest
/
Utils
/
RestTest.php
diff --git
a/tests/phpunit/WebTest/Utils/RestTest.php
b/tests/phpunit/WebTest/Utils/RestTest.php
index 25abceceb93b1df7f4b3a3c49be88c6882ee0141..9b7fda6e5dc7c97821a3dacb7d549cfe67e312b3 100644
(file)
--- a/
tests/phpunit/WebTest/Utils/RestTest.php
+++ b/
tests/phpunit/WebTest/Utils/RestTest.php
@@
-1,9
+1,9
@@
<?php
/*
+--------------------------------------------------------------------+
<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.
3
|
+ | CiviCRM version 4.
5
|
+--------------------------------------------------------------------+
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-201
3
|
+ | Copyright CiviCRM LLC (c) 2004-201
4
|
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
@@
-35,6
+35,11
@@
class WebTest_Utils_RestTest extends CiviSeleniumTestCase {
protected $session_id;
protected $nocms_contact_id;
protected $session_id;
protected $nocms_contact_id;
+ /**
+ * @param $apiResult
+ * @param $cmpvar
+ * @param string $prefix
+ */
protected function assertAPIErrorCode($apiResult, $cmpvar, $prefix = '') {
if (!empty($prefix)) {
$prefix .= ': ';
protected function assertAPIErrorCode($apiResult, $cmpvar, $prefix = '') {
if (!empty($prefix)) {
$prefix .= ': ';