From 6a67518de244a93dd7d33cde04700dd5815af099 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Wed, 5 Feb 2014 09:00:30 +1300 Subject: [PATCH] adjust test for grammar improvement --- tests/phpunit/api/v3/SyntaxConformanceTest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/phpunit/api/v3/SyntaxConformanceTest.php b/tests/phpunit/api/v3/SyntaxConformanceTest.php index 20b2759d29..84eceef7bb 100644 --- a/tests/phpunit/api/v3/SyntaxConformanceTest.php +++ b/tests/phpunit/api/v3/SyntaxConformanceTest.php @@ -340,7 +340,7 @@ class api_v3_SyntaxConformanceTest extends CiviUnitTestCase { public function testNotImplemented_get($Entity) { $result = civicrm_api($Entity, 'Get', array('version' => 3)); $this->assertEquals(1, $result['is_error'], 'In line ' . __LINE__); - $this->assertContains("API ($Entity,Get) does not exist", $result['error_message']); + $this->assertContains("API ($Entity, Get) does not exist", $result['error_message']); } /** @@ -567,7 +567,7 @@ class api_v3_SyntaxConformanceTest extends CiviUnitTestCase { public function testNotImplemented_create($Entity) { $result = civicrm_api($Entity, 'Create', array('version' => 3)); $this->assertEquals(1, $result['is_error'], 'In line ' . __LINE__); - $this->assertContains("API ($Entity,Create) does not exist", $result['error_message']); + $this->assertContains("API ($Entity, Create) does not exist", $result['error_message']); } /** @@ -767,7 +767,7 @@ class api_v3_SyntaxConformanceTest extends CiviUnitTestCase { $nonExistantID = 151416349; $result = civicrm_api($Entity, 'Delete', array('version' => 3, 'id' => $nonExistantID)); $this->assertEquals(1, $result['is_error'], 'In line ' . __LINE__); - $this->assertContains("API ($Entity,Delete) does not exist", $result['error_message']); + $this->assertContains("API ($Entity, Delete) does not exist", $result['error_message']); } /** -- 2.25.1