diff --git a/src/modules/Client/Service.php b/src/modules/Client/Service.php index d7a8f7f2e..ae70c2a05 100644 --- a/src/modules/Client/Service.php +++ b/src/modules/Client/Service.php @@ -236,7 +236,7 @@ class Service implements InjectionAwareInterface public function addFunds(\Model_Client $client, $amount, $description, array $data = []) { if (!$client->currency) { - throw new \FOSSBilling\InformationException('You must define the client’s currency before adding funds.'); + throw new \FOSSBilling\InformationException('You must define the client\'s currency before adding funds.'); } if (!is_numeric($amount)) { diff --git a/src/modules/Email/Service.php b/src/modules/Email/Service.php index 035fc1989..e93ea24d6 100644 --- a/src/modules/Email/Service.php +++ b/src/modules/Email/Service.php @@ -201,7 +201,7 @@ class Service implements \FOSSBilling\InjectionAwareInterface $sent = false; if (!$from) { - throw new \FOSSBilling\InformationException('The “from” email address cannot be empty'); + throw new \FOSSBilling\InformationException('The "from" email address cannot be empty'); } if (isset($staff)) { diff --git a/tests-legacy/modules/Client/ServiceTest.php b/tests-legacy/modules/Client/ServiceTest.php index eab38ef35..68ecc4aa9 100644 --- a/tests-legacy/modules/Client/ServiceTest.php +++ b/tests-legacy/modules/Client/ServiceTest.php @@ -525,7 +525,7 @@ class ServiceTest extends \BBTestCase $clientService = new \Box\Mod\Client\Service(); $this->expectException(\FOSSBilling\Exception::class); - $this->expectExceptionMessage('You must define the client’s currency before adding funds.'); + $this->expectExceptionMessage('You must define the client\'s currency before adding funds.'); $clientService->addFunds($modelClient, $amount, $description); }