]> git.openstreetmap.org Git - rails.git/blobdiff - test/fixtures/changesets.yml
Fixup AMF controller tests.
[rails.git] / test / fixtures / changesets.yml
index 9fe5bc6d8f8902eedf9aedbf97575d51ab52dfc9..f7d8982106528d1f880d04ffb011576096e489bc 100644 (file)
@@ -14,10 +14,10 @@ normal_user_first_change:
   max_lat: <%= 5 * SCALE %>
   num_changes: 11
   
   max_lat: <%= 5 * SCALE %>
   num_changes: 11
   
-second_user_first_change:
+public_user_first_change:
   id: 2
   user_id: 2
   id: 2
   user_id: 2
-  created_at: "2008-05-01 01:23:45"
+  created_at: <%= DateTime.now.utc %>
   closed_at: <%= DateTime.now + Rational(1,24) %>
   num_changes: 0
 
   closed_at: <%= DateTime.now + Rational(1,24) %>
   num_changes: 0
 
@@ -28,10 +28,17 @@ normal_user_closed_change:
   closed_at: "2007-01-02 00:00:00"
   num_changes: 0
 
   closed_at: "2007-01-02 00:00:00"
   num_changes: 0
 
-normal_user_version_change:
+public_user_closed_change:
+  id: 7
+  user_id: 2
+  created_at: "2007-01-01 00:00:00"
+  closed_at: "2007-01-02 00:00:00"
+  num_changes: 0
+
+public_user_version_change:
   id: 4
   id: 4
-  user_id: 1
-  created_at: "2008-01-01 00:00:00"
+  user_id: 2
+  created_at: <%= DateTime.now.utc %>
   closed_at: <%= DateTime.now + Rational(1,24) %>
   min_lon: <%= 1 * SCALE %>
   min_lat: <%= 1 * SCALE %>
   closed_at: <%= DateTime.now + Rational(1,24) %>
   min_lon: <%= 1 * SCALE %>
   min_lat: <%= 1 * SCALE %>