mirror of
https://github.com/Karaka-Management/oms-Support.git
synced 2026-01-11 17:18:40 +00:00
test fixes
This commit is contained in:
parent
2646cb1a10
commit
7dc190d162
|
|
@ -136,7 +136,6 @@ final class Application
|
|||
|
||||
/** @var ConnectionAbstract $con */
|
||||
$con = $this->app->dbPool->get();
|
||||
$con->connect();
|
||||
DataMapperFactory::db($con);
|
||||
|
||||
$this->app->cachePool = new CachePool();
|
||||
|
|
|
|||
|
|
@ -654,7 +654,7 @@ final class ApiController extends Controller
|
|||
|
||||
$attrValue = new TicketAttributeValue();
|
||||
$attrValue->isDefault = $request->getDataBool('default') ?? false;
|
||||
$attrValue->setValue($request->getData('value'), $type->datatype);
|
||||
$attrValue->setValue($request->getDataString('value'), $type->datatype);
|
||||
|
||||
if ($request->hasData('title')) {
|
||||
$attrValue->setL11n($request->getDataString('title') ?? '', $request->getDataString('language') ?? ISO639x1Enum::_EN);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user