mirror of
https://github.com/Karaka-Management/oms-Marketing.git
synced 2026-02-17 18:38:41 +00:00
Fix test bugs
This commit is contained in:
parent
0c60c9f1c7
commit
bce0ae6ed2
|
|
@ -12,7 +12,7 @@
|
||||||
* @link http://orange-management.com
|
* @link http://orange-management.com
|
||||||
*/
|
*/
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
namespace Modules\ProjectManagement\Models;
|
namespace Modules\Marketing\Models;
|
||||||
|
|
||||||
use Modules\Calendar\Models\CalendarMapper;
|
use Modules\Calendar\Models\CalendarMapper;
|
||||||
use phpOMS\DataStorage\Database\DataMapperAbstract;
|
use phpOMS\DataStorage\Database\DataMapperAbstract;
|
||||||
|
|
@ -30,7 +30,7 @@ use Modules\Tasks\Models\TaskMapper;
|
||||||
* @link http://orange-management.com
|
* @link http://orange-management.com
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
class ProjectMapper extends DataMapperAbstract
|
class PromotionMapper extends DataMapperAbstract
|
||||||
{
|
{
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
@ -62,9 +62,9 @@ class ProjectMapper extends DataMapperAbstract
|
||||||
protected static $hasMany = [
|
protected static $hasMany = [
|
||||||
'tasks' => [
|
'tasks' => [
|
||||||
'mapper' => TaskMapper::class,
|
'mapper' => TaskMapper::class,
|
||||||
'table' => 'projectmanagement_task_relation',
|
'table' => 'marketing_promotion_task_relation',
|
||||||
'dst' => 'projectmanagement_task_relation_dst',
|
'dst' => 'marketing_promotion_task_relation_dst',
|
||||||
'src' => 'projectmanagement_task_relation_src',
|
'src' => 'marketing_promotion_task_relation_src',
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user