From: Seamus Lee Date: Wed, 3 Aug 2016 07:23:44 +0000 (+1000) Subject: Fix up navigation test - SL X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=2295d526990a283b8846708dce9de4c3cbb4e7a7;p=civicrm-core.git Fix up navigation test - SL --- diff --git a/tests/phpunit/api/v3/NavigationTest.php b/tests/phpunit/api/v3/NavigationTest.php index 85c69818b6..1dea146e0a 100644 --- a/tests/phpunit/api/v3/NavigationTest.php +++ b/tests/phpunit/api/v3/NavigationTest.php @@ -46,7 +46,7 @@ class api_v3_NavigationTest extends CiviUnitTestCase { * Test create function. */ public function testCreate() { - $params = array('label' => 'Feed the Goats', 'domain_id' => 1); + $params = array('name' => 'feed', 'label' => 'Feed the Goats', 'domain_id' => 1); $result = $this->callAPISuccess($this->_entity, 'create', $params); $this->getAndCheck($params, $result['id'], $this->_entity, TRUE); }