mirror of
https://github.com/Karaka-Management/oms-News.git
synced 2026-02-17 17:08:41 +00:00
Bug fixes from unit test
This commit is contained in:
parent
1ffeac2304
commit
59bc835c80
|
|
@ -33,7 +33,7 @@ class NewsArticleMapper extends DataMapperAbstract
|
||||||
*/
|
*/
|
||||||
static protected $columns = [
|
static protected $columns = [
|
||||||
'news_id' => ['name' => 'news_id', 'type' => 'int', 'internal' => 'id'],
|
'news_id' => ['name' => 'news_id', 'type' => 'int', 'internal' => 'id'],
|
||||||
'news_created_by' => ['name' => 'news_created_by', 'type' => 'string', 'internal' => 'createdBy'],
|
'news_created_by' => ['name' => 'news_created_by', 'type' => 'int', 'internal' => 'createdBy'],
|
||||||
'news_publish' => ['name' => 'news_publish', 'type' => 'DateTime', 'internal' => 'publish'],
|
'news_publish' => ['name' => 'news_publish', 'type' => 'DateTime', 'internal' => 'publish'],
|
||||||
'news_title' => ['name' => 'news_title', 'type' => 'string', 'internal' => 'title'],
|
'news_title' => ['name' => 'news_title', 'type' => 'string', 'internal' => 'title'],
|
||||||
'news_plain' => ['name' => 'news_plain', 'type' => 'string', 'internal' => 'plain'],
|
'news_plain' => ['name' => 'news_plain', 'type' => 'string', 'internal' => 'plain'],
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user