From: Eileen McNaughton Date: Mon, 5 May 2014 05:21:07 +0000 (-0700) Subject: test fix - should have failed X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=28bf7a01c8b8abbf673966fd2f812b1fdab6c471;p=civicrm-core.git test fix - should have failed --- diff --git a/tests/phpunit/api/v3/SystemTest.php b/tests/phpunit/api/v3/SystemTest.php index 3e04fc5bf7..07688b711f 100644 --- a/tests/phpunit/api/v3/SystemTest.php +++ b/tests/phpunit/api/v3/SystemTest.php @@ -133,6 +133,6 @@ class api_v3_SystemTest extends CiviUnitTestCase { $result = $this->callAPISuccess('SystemLog', 'getsingle', array('sequential' => 1, 'message' => array('LIKE' => '%Chris%'))); $this->assertEquals($result['message'], 'We wish you a merry Christmas'); $this->assertEquals($result['level'], 'info'); - $this->callAPISuccess('system_log', 'create', array('message' => 'msg')); + $this->callAPIFailure('system_log', 'create', array('message' => 'msg')); } }