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:
d9e43fc
)
Namespace exception in test
author
eileen
<emcnaughton@wikimedia.org>
Tue, 17 Apr 2018 08:08:57 +0000
(20:08 +1200)
committer
eileen
<emcnaughton@wikimedia.org>
Tue, 17 Apr 2018 08:08:57 +0000
(20:08 +1200)
Civi/Test/Api3TestTrait.php
patch
|
blob
|
blame
|
history
diff --git
a/Civi/Test/Api3TestTrait.php
b/Civi/Test/Api3TestTrait.php
index 767c7233907f1f559fc0199d31e04753e3596f2d..46880df32bf573f261aa8d116b5ba1d7145034a9 100644
(file)
--- a/
Civi/Test/Api3TestTrait.php
+++ b/
Civi/Test/Api3TestTrait.php
@@
-202,7
+202,7
@@
trait Api3TestTrait {
);
$result = $this->civicrm_api($entity, 'getsingle', $params);
if (!is_array($result) || !empty($result['is_error']) || isset($result['values'])) {
- throw new Exception('Invalid getsingle result' . print_r($result, TRUE));
+ throw new
\
Exception('Invalid getsingle result' . print_r($result, TRUE));
}
if ($checkAgainst) {
// @todo - have gone with the fn that unsets id? should we check id?