Added relation redaction logic, same as node and way logic, plus tests
[rails.git] / test / fixtures / relations.yml
index 059528f62649ad0f186728888d23ab9ae065a477..0640bf2f38b0e43ec3e962146c189bd7dd33a4a0 100644 (file)
@@ -39,3 +39,61 @@ public_visible_relation:
   timestamp: 2009-04-22 00:34:12
   visible: true
   version: 1
+
+relation_with_redacted_versions_v1:
+  relation_id: 7
+  changeset_id: 4
+  timestamp: 2008-01-01 00:04:10
+  visible: true
+  version: 1
+
+relation_with_redacted_versions_v2:
+  relation_id: 7
+  changeset_id: 4
+  timestamp: 2008-01-01 00:04:11
+  visible: true
+  version: 2
+  redaction_id: 1
+
+relation_with_redacted_versions_v3:
+  relation_id: 7
+  changeset_id: 4
+  timestamp: 2008-01-01 00:04:12
+  visible: true
+  version: 3
+  redaction_id: 1
+
+relation_with_redacted_versions_v4:
+  relation_id: 7
+  changeset_id: 4
+  timestamp: 2008-01-01 00:04:13
+  visible: true
+  version: 4
+
+relation_with_versions_v1:
+  relation_id: 8
+  changeset_id: 4
+  timestamp: 2008-01-01 00:01:00
+  visible: true
+  version: 1
+
+relation_with_versions_v2:
+  relation_id: 8
+  changeset_id: 4
+  timestamp: 2008-01-01 00:02:00
+  visible: true
+  version: 2
+
+relation_with_versions_v3:
+  relation_id: 8
+  changeset_id: 4
+  timestamp: 2008-01-01 00:03:00
+  visible: true
+  version: 3
+
+relation_with_versions_v4:
+  relation_id: 8
+  changeset_id: 4
+  timestamp: 2008-01-01 00:04:00
+  visible: true
+  version: 4