mirror of
https://github.com/Karaka-Management/oms-FleetManagement.git
synced 2026-01-11 12:58:42 +00:00
Automated formatting changes (NO_CI)
This commit is contained in:
parent
4bc00eea73
commit
81671afb66
|
|
@ -447,7 +447,6 @@ final class ApiDriverAttributeController extends Controller
|
|||
*/
|
||||
public function apiDriverAttributeValueDelete(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?
|
||||
|
|
|
|||
|
|
@ -447,7 +447,6 @@ final class ApiVehicleAttributeController extends Controller
|
|||
*/
|
||||
public function apiVehicleAttributeValueDelete(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?
|
||||
|
|
|
|||
|
|
@ -43,6 +43,7 @@ final class ApiControllerTest extends \PHPUnit\Framework\TestCase
|
|||
* @var \Modules\FleetManagement\Controller\ApiController
|
||||
*/
|
||||
protected ModuleAbstract $module;
|
||||
|
||||
protected ModuleAbstract $attrModule;
|
||||
|
||||
/**
|
||||
|
|
@ -69,7 +70,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(
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user