mirror of
https://github.com/Karaka-Management/oms-ContractManagement.git
synced 2026-01-11 17:48:40 +00:00
Automated formatting changes (NO_CI)
This commit is contained in:
parent
a3695449b1
commit
1ad1532034
|
|
@ -447,7 +447,6 @@ final class ApiAttributeController extends Controller
|
|||
*/
|
||||
public function apiContractAttributeValueDelete(RequestAbstract $request, ResponseAbstract $response, mixed $data = null) : void
|
||||
{
|
||||
return;
|
||||
// @todo: I don't think values can be deleted? Only Attributes
|
||||
// However, It should be possible to remove UNUSED default values
|
||||
// either here or other function?
|
||||
|
|
|
|||
|
|
@ -74,7 +74,7 @@ final class ApiControllerTest extends \PHPUnit\Framework\TestCase
|
|||
$account = new Account();
|
||||
TestUtils::setMember($account, 'id', 1);
|
||||
|
||||
$permission = new AccountPermission();
|
||||
$permission = new AccountPermission();
|
||||
$permission->unit = 1;
|
||||
$permission->app = 2;
|
||||
$permission->setPermission(
|
||||
|
|
@ -90,7 +90,7 @@ final class ApiControllerTest extends \PHPUnit\Framework\TestCase
|
|||
$this->app->accountManager->add($account);
|
||||
$this->app->router = new WebRouter();
|
||||
|
||||
$this->module = $this->app->moduleManager->get('ContractManagement', 'Api');
|
||||
$this->module = $this->app->moduleManager->get('ContractManagement', 'Api');
|
||||
$this->attrModule = $this->app->moduleManager->get('ContractManagement', 'ApiAttribute');
|
||||
$this->typeModule = $this->app->moduleManager->get('ContractManagement', 'ApiContractType');
|
||||
|
||||
|
|
|
|||
|
|
@ -15,8 +15,6 @@ declare(strict_types=1);
|
|||
namespace Modules\ContractManagement\tests\Models;
|
||||
|
||||
use Modules\ContractManagement\Models\Contract;
|
||||
use Modules\ContractManagement\Models\ContractType;
|
||||
use Modules\Media\Models\Media;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user