From 0bb82d27b5de755c75001df3719057c148dd8770 Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Thu, 3 Nov 2022 01:20:29 -0700 Subject: [PATCH] PriceSetTest - Fix test-run on case-insensitive filesystem --- tests/phpunit/CRM/Price/BAO/PriceSetTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/phpunit/CRM/Price/BAO/PriceSetTest.php b/tests/phpunit/CRM/Price/BAO/PriceSetTest.php index c0c93e1aaa..05fd017999 100644 --- a/tests/phpunit/CRM/Price/BAO/PriceSetTest.php +++ b/tests/phpunit/CRM/Price/BAO/PriceSetTest.php @@ -30,7 +30,7 @@ class CRM_Price_BAO_PriceSetTest extends CiviUnitTestCase { $params = ['priceSetId' => $priceSetID, 'price_' . $field['id'] => 1]; $amountLevel = CRM_Price_BAO_PriceSet::getAmountLevelText($params); $this->assertEquals(CRM_Core_DAO::VALUE_SEPARATOR . 'Price Field - 1' . CRM_Core_DAO::VALUE_SEPARATOR, $amountLevel); - $priceFieldValue = $this->callAPISuccess('pricefieldvalue', 'getsingle', ['price_field_id' => $field['id']]); + $priceFieldValue = $this->callAPISuccess('PriceFieldValue', 'getsingle', ['price_field_id' => $field['id']]); $this->callAPISuccess('PriceFieldValue', 'delete', ['id' => $priceFieldValue['id']]); $this->callAPISuccess('PriceField', 'delete', ['id' => $field['id']]); $this->callAPISuccess('PriceSet', 'delete', ['id' => $priceSetID]); -- 2.25.1