diff --git a/tests/phpunit/api/v3/ProfileTest.php b/tests/phpunit/api/v3/ProfileTest.php index 4a56f5355ebd..622491574a71 100644 --- a/tests/phpunit/api/v3/ProfileTest.php +++ b/tests/phpunit/api/v3/ProfileTest.php @@ -73,7 +73,7 @@ public function testProfileGetWithoutProfileId() { $params = array( 'contact_id' => 1, ); - $result = $this->callAPIFailure('profile', 'get', $params, + $this->callAPIFailure('profile', 'get', $params, 'Mandatory key(s) missing from params array: profile_id' ); }