]> git.openstreetmap.org Git - rails.git/blobdiff - config/settings/test.yml
Improve testing of changeset comment rate limits
[rails.git] / config / settings / test.yml
index 307eb7f65a94e5c450880542965895c5b95d2b2b..5f00259256d6ef81873ad323810657d9ce289c06 100644 (file)
@@ -1,16 +1,24 @@
-gpx_trace_dir: <%= Rails.root.join("test", "gpx", "traces") %>
-gpx_image_dir: <%= Rails.root.join("test", "gpx", "images") %>
-# Geonames credentials for testing
-geonames_username: "dummy"
+# Ignore the diary feed delay unless we're specifically testing it
+diary_feed_delay: 0
 # External authentication credentials for testing
 google_auth_id: "dummy"
 google_auth_secret: "dummy"
 google_openid_realm: "https://www.openstreetmap.org"
 facebook_auth_id: "dummy"
 facebook_auth_secret: "dummy"
-windowslive_auth_id: "dummy"
-windowslive_auth_secret: "dummy"
+microsoft_auth_id: "dummy"
+microsoft_auth_secret: "dummy"
 github_auth_id: "dummy"
 github_auth_secret: "dummy"
 wikipedia_auth_id: "dummy"
 wikipedia_auth_secret: "dummy"
+# Server URL for testing
+server_url: "test.host"
+# Storage services for testing
+avatar_storage: "test"
+trace_file_storage: "test"
+trace_image_storage: "test"
+trace_icon_storage: "test"
+# Lower some rate limits for testing
+max_changeset_comments_per_hour: 30
+moderator_changeset_comments_per_hour: 60