Hello, I follow the guide on github to install my openstreetmap website. But when I run bundle exec rake test:db, a failure occurred:

Failure:
AmfControllerTest#test_getway_old [/home/yeager/sfw/openstreetmap-website/test/controllers/amf_controller_test.rb:350]:
Expected: 0
Actual: -1

Is there anyone met the same question? How to solve it? Thanks for your help.

asked 26 Nov, 00:43

gleide's gravatar image

gleide
49110
accept rate: 50%

edited 06 Dec, 20:41

aseerel4c26's gravatar image

aseerel4c26 ♦
28.4k14211488

1

We'll need some more information to help. Is this the only test that fails? Have you installed the three database functions (maptile_for_point etc) mentioned in the INSTALL.md file?

(29 Nov, 11:52) Andy Allan

This turns out to have been a bug in the way that timezones are handled in the test suite, and has now been fixed. For more information see https://github.com/openstreetmap/openstreetmap-website/issues/1688

permanent link

answered 06 Dec, 19:17

Andy%20Allan's gravatar image

Andy Allan
11.2k23117135
accept rate: 31%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×211
×69
×17
×5

question asked: 26 Nov, 00:43

question was seen: 140 times

last updated: 06 Dec, 20:41

powered by OSQA