aboutsummaryrefslogtreecommitdiff
path: root/tests/data
diff options
context:
space:
mode:
authorElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2021-02-09 16:56:07 +0100
committerElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2021-02-09 16:56:07 +0100
commite6c4eefc1d55d6643c4455072df36fd35bfe5c3d (patch)
treedcd252d6dba06d6679a2f17e543f00d751b673c5 /tests/data
parent2c42531afff5e4fcd6d28ab8230011b7621bae84 (diff)
Update fields before editing an entry, including autofill on update of date(time) fields. refs: #1
Diffstat (limited to 'tests/data')
-rw-r--r--tests/data/complex/items/5084bc6e94f24dc6976629282ef30419.yaml1
-rw-r--r--tests/data/complex/items/8e9fa1ed3c1b4a30a6be7a98eda0cfa7.yaml1
-rw-r--r--tests/data/complex/settings.yaml3
3 files changed, 5 insertions, 0 deletions
diff --git a/tests/data/complex/items/5084bc6e94f24dc6976629282ef30419.yaml b/tests/data/complex/items/5084bc6e94f24dc6976629282ef30419.yaml
index d4cdaba..bb97781 100644
--- a/tests/data/complex/items/5084bc6e94f24dc6976629282ef30419.yaml
+++ b/tests/data/complex/items/5084bc6e94f24dc6976629282ef30419.yaml
@@ -14,5 +14,6 @@ with_default: default value
amount: 1
order: delta
created:
+updated:
epoch:
# and a comment at the end
diff --git a/tests/data/complex/items/8e9fa1ed3c1b4a30a6be7a98eda0cfa7.yaml b/tests/data/complex/items/8e9fa1ed3c1b4a30a6be7a98eda0cfa7.yaml
index ab9dc70..44d8b89 100644
--- a/tests/data/complex/items/8e9fa1ed3c1b4a30a6be7a98eda0cfa7.yaml
+++ b/tests/data/complex/items/8e9fa1ed3c1b4a30a6be7a98eda0cfa7.yaml
@@ -12,4 +12,5 @@ with_default: 'default value'
amount: 0
order:
created:
+updated:
epoch:
diff --git a/tests/data/complex/settings.yaml b/tests/data/complex/settings.yaml
index 1c48b52..bf64934 100644
--- a/tests/data/complex/settings.yaml
+++ b/tests/data/complex/settings.yaml
@@ -42,6 +42,9 @@ fields:
- name: created
type: datetime
auto: creation
+ - name: updated
+ type: datetime
+ auto: update
- name: epoch
type: datetime
auto: false