From 7425473b184094643a178c47546adeb240d30cfc Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Wed, 18 Oct 2023 12:40:53 +0000 Subject: [PATCH] fix test --- tests/Controller/Api/ApiPurchaseControllerTrait.php | 2 +- tests/Controller/ApiControllerTest.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/Controller/Api/ApiPurchaseControllerTrait.php b/tests/Controller/Api/ApiPurchaseControllerTrait.php index 52781d1..2363b79 100644 --- a/tests/Controller/Api/ApiPurchaseControllerTrait.php +++ b/tests/Controller/Api/ApiPurchaseControllerTrait.php @@ -24,7 +24,7 @@ use phpOMS\Uri\HttpUri; use phpOMS\Utils\RnG\DateTime; use phpOMS\Utils\TestUtils; -trait ApiPurchaselControllerTrait +trait ApiPurchaseControllerTrait { public function testBillElementCreate() : void { diff --git a/tests/Controller/ApiControllerTest.php b/tests/Controller/ApiControllerTest.php index 7794356..e93b1e2 100755 --- a/tests/Controller/ApiControllerTest.php +++ b/tests/Controller/ApiControllerTest.php @@ -17,7 +17,7 @@ namespace Modules\Billing\tests\Controller; use Model\CoreSettings; use Modules\Admin\Models\AccountPermission; use Modules\Billing\tests\Controller\Api\ApiBillControllerTrait; -use Modules\Billing\tests\Controller\Api\ApiPurchaselControllerTrait; +use Modules\Billing\tests\Controller\Api\ApiPurchaseControllerTrait; use phpOMS\Account\Account; use phpOMS\Account\AccountManager; use phpOMS\Account\PermissionType; @@ -96,5 +96,5 @@ final class ApiControllerTest extends \PHPUnit\Framework\TestCase } use ApiBillControllerTrait; - use ApiPurchaselControllerTrait; + use ApiPurchaseControllerTrait; }