From 28bf7a01c8b8abbf673966fd2f812b1fdab6c471 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Sun, 4 May 2014 22:21:07 -0700 Subject: [PATCH] test fix - should have failed --- tests/phpunit/api/v3/SystemTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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')); } } -- 2.25.1