From 262f0ecc4127366efcbbd6c1d477d5a2e06925e8 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Fri, 14 Jun 2013 18:02:34 -0700 Subject: [PATCH] Fix test --- tests/phpunit/CRM/Core/FieldOptionsTest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/phpunit/CRM/Core/FieldOptionsTest.php b/tests/phpunit/CRM/Core/FieldOptionsTest.php index d3441a1443..7b70182279 100644 --- a/tests/phpunit/CRM/Core/FieldOptionsTest.php +++ b/tests/phpunit/CRM/Core/FieldOptionsTest.php @@ -33,9 +33,9 @@ require_once 'CiviTest/CiviUnitTestCase.php'; class CRM_Core_FieldOptionsTest extends CiviUnitTestCase { function get_info() { return array( - 'name' => 'FieldOptions', + 'name' => 'FieldOptions', 'description' => 'Tests for field-specific option values', - 'group' => 'Core', + 'group' => 'Core', ); } @@ -83,7 +83,7 @@ class CRM_Core_FieldOptionsTest extends CiviUnitTestCase { $message = "BAO name: '{$baoName}', field: '{$field['fieldName']}'"; $props = CRM_Utils_Array::value('props', $field, array()); - $optionValues = $baoName::buildOptions($field['fieldName'], 'test', $props); + $optionValues = $baoName::buildOptions($field['fieldName'], 'create', $props); $this->assertNotEmpty($optionValues, $message); // Ensure sample value is contained in the returned optionValues. -- 2.25.1