mirror of
https://github.com/Karaka-Management/oms-Tasks.git
synced 2026-01-10 15:18:40 +00:00
Test fixes
This commit is contained in:
parent
4c47c96ad2
commit
2d82095783
|
|
@ -161,13 +161,13 @@
|
|||
"null": false
|
||||
},
|
||||
"task_attr_type_required": {
|
||||
"description": "Every task must have this attribute type if set to true.",
|
||||
"comment": "Every task must have this attribute type if set to true.",
|
||||
"name": "task_attr_type_required",
|
||||
"type": "TINYINT(1)",
|
||||
"null": false
|
||||
},
|
||||
"task_attr_type_pattern": {
|
||||
"description": "This is a regex validation pattern.",
|
||||
"comment": "This is a regex validation pattern.",
|
||||
"name": "task_attr_type_pattern",
|
||||
"type": "VARCHAR(255)",
|
||||
"null": false
|
||||
|
|
|
|||
|
|
@ -1,5 +0,0 @@
|
|||
# Structure
|
||||
|
||||
## ER
|
||||
|
||||

|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 200 KiB |
|
|
@ -418,6 +418,9 @@ final class TaskMapper extends DataMapperFactory
|
|||
->andWhere(TaskSeenMapper::TABLE . '.task_seen_task', '=', null);
|
||||
|
||||
$sth = $query->execute();
|
||||
if ($sth === null) {
|
||||
return [];
|
||||
}
|
||||
|
||||
$fetched = $sth->fetchAll(\PDO::FETCH_COLUMN);
|
||||
if ($fetched === false) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user