Shaun McDonald
|
d10931effa
|
More trace tests
|
2009-05-06 14:58:48 +00:00 |
|
Shaun McDonald
|
589e5835c8
|
some tests for the site and export controllers
|
2009-05-05 18:31:37 +00:00 |
|
Thomas Wood
|
026d7775d2
|
Fix indentation fail
|
2009-05-01 21:01:02 +00:00 |
|
Thomas Wood
|
38d8f178f6
|
Fix AMF controller failing tests due to changed error messages.
|
2009-05-01 20:49:51 +00:00 |
|
Shaun McDonald
|
d5a6efca7f
|
a fix for the relation controller test
|
2009-05-01 10:29:19 +00:00 |
|
Matt Amos
|
5fe85e39a4
|
Fix failing test case.
|
2009-04-30 17:37:18 +00:00 |
|
Shaun McDonald
|
44c5248c1a
|
couple of fixes to the changeset upload delete
|
2009-04-30 17:25:53 +00:00 |
|
Shaun McDonald
|
db17af19bb
|
fix more of the tests, particularly changeset controller. Needed more fixtures to fix them. The last failing changeset controller test needs some more work on the fixtures.
|
2009-04-29 22:25:49 +00:00 |
|
Shaun McDonald
|
dcca3ab0e9
|
More changeset test improvements. Another fixture was required for one of the tests
|
2009-04-29 17:29:58 +00:00 |
|
Matt Amos
|
3e9b6845d3
|
Fixed 'raw' raises by converting them to the appropriate OSM::APIError type. Made the error messages for placeholder fixing more informative. Added tests for these.
|
2009-04-29 10:07:35 +00:00 |
|
Shaun McDonald
|
f47ba4fb23
|
Fix the node and relation tests from when the users with data public=false were disallowed from editing. Needed extra fixtures.
|
2009-04-27 11:57:58 +00:00 |
|
Shaun McDonald
|
10fdeb2021
|
Make node update work with the new require data public to edit policy. Added convenience testing method for the require data public. Add 2 new fixtures that are owned by the public user.
|
2009-04-26 22:46:41 +00:00 |
|
Tom Hughes
|
77a34278ca
|
Backout broken attempt at making case insensitive authentication work
on Postgres. As implemented this forces a table scan to authenticate
users which is ridiculous to save people pressing the shift key.
|
2009-04-23 23:46:45 +00:00 |
|
Shaun McDonald
|
f1a0331081
|
Hack a way to make the email and display name case insensitive for logging in, based on a suggestion by firefishy to use ILIKE. Changes requested from users on mailing list. Includes some tests to check the case insensitivity of the username, and and e-mail address on login.
|
2009-04-23 19:20:08 +00:00 |
|
Shaun McDonald
|
9ca382605c
|
Fixing the create relation test, which now also tests to make sure that private users cannot edit.
|
2009-04-22 14:38:23 +00:00 |
|
Shaun McDonald
|
0b94234a6b
|
adding the maximum number of elements in a changeset to the capabilities call, including test update
|
2009-04-22 11:03:22 +00:00 |
|
Shaun McDonald
|
38e94c6baa
|
fixing some of the relation tests. Some adjustments to the fixtures.
|
2009-04-22 00:42:23 +00:00 |
|
Matt Amos
|
0b76693672
|
Adding more tests for updating relation tags.
|
2009-04-21 20:33:16 +00:00 |
|
Shaun McDonald
|
0ad724bd92
|
Hopefully fix the old_node_controller tests.
|
2009-04-21 17:07:14 +00:00 |
|
Shaun McDonald
|
0dd0f1881d
|
Fixing some of the tests, adding the new tests to make sure that you can't edit when your not a public user
|
2009-04-18 17:17:22 +00:00 |
|
Shaun McDonald
|
ed87bd73f3
|
Remove function that is in the test help from functional test
|
2009-04-14 11:52:56 +00:00 |
|
Shaun McDonald
|
d84d5c68de
|
Remove function that is in the test help from functional test
|
2009-04-14 11:39:46 +00:00 |
|
Shaun McDonald
|
72a3947b1b
|
remove the dup methods from the test helper. Add tests for no content and checking that a record has been created.
|
2009-04-13 00:13:51 +00:00 |
|
Shaun McDonald
|
90ec90f13d
|
reverting last change, which included posgres config specific things
|
2009-04-13 00:10:37 +00:00 |
|
Shaun McDonald
|
2c52b06716
|
Remove duplication that is in the test helper. Adding tests for the passing of no content, and the wrong method used. Also ensuring that there has been a changeset added to the db when it is created.
|
2009-04-13 00:04:24 +00:00 |
|
Shaun McDonald
|
0f25285ab6
|
More tests, found a bug in the data browser, no fix yet. Fix db readme. Don't show the signup page to logged in users, by redirecting them to the home page. Remove unnessesary begin blocks in the browse controller.
|
2009-04-12 23:20:31 +00:00 |
|
Matt Amos
|
afcb345014
|
Moved a bunch of time functions into UTC. Fixes bugs which we only see for 4 hours a year.
|
2009-03-29 01:31:04 +00:00 |
|
Matt Amos
|
f492a1b709
|
Fixed unit tests and fixture loading for postgres. The foreign keys were playing havoc with the tests when only some fixtures were loaded.
|
2009-03-28 20:18:26 +00:00 |
|
Matt Amos
|
be75a1504f
|
Fixed a couple of bugs with changeset bounding box calculation when modifying or deleting.
|
2009-03-27 12:22:23 +00:00 |
|
Matt Amos
|
568c05c548
|
Fixing failing potlatch tests. Someone who knows what the potlatch API is actually supposed to be doing should check these...
|
2009-03-25 17:54:21 +00:00 |
|
Thomas Wood
|
d841d3d135
|
<td> tags must be closed, move browse index test over to changeset, lazy fix for new format
|
2009-03-23 21:35:06 +00:00 |
|
Tom Hughes
|
c8ee135104
|
Merge 12304:14009 from trunk.
|
2009-03-08 13:02:37 +00:00 |
|
Matt Amos
|
5143fbcd5b
|
Test and fix for #1567, for teh betterer osmChange compliance.
|
2009-02-08 16:54:28 +00:00 |
|
Matt Amos
|
12b779f0b4
|
Test and fix for issue #1568. Wasn't testing for end element in the right place.
|
2009-02-08 16:33:48 +00:00 |
|
Matt Amos
|
c54471ee33
|
Fix for #1565. Added a couple of tests and fixed another issue with re-used placeholder IDs.
|
2009-02-08 08:28:01 +00:00 |
|
Matt Amos
|
76708eefcf
|
Fixed bug in changeset closing and querying where the number of elements exceeded the maximum. Added a fixture for this.
|
2009-02-07 17:45:27 +00:00 |
|
Thomas Wood
|
747d6f1d11
|
Revert last commit - too many test failures
|
2008-12-31 16:43:44 +00:00 |
|
Thomas Wood
|
898beb7b7f
|
DateTime => Time for consistency in changeset code, ok by shaun.
|
2008-12-31 16:33:02 +00:00 |
|
Thomas Wood
|
8fe53e4823
|
Only show changesets that are actually closed in the index view.
|
2008-12-31 16:14:39 +00:00 |
|
Thomas Wood
|
62b6d15967
|
Make browse controller index show recently closed changesets, rather than recently changed nodes.
|
2008-12-23 15:47:06 +00:00 |
|
Shaun McDonald
|
548265372e
|
Some extra stubs in the amf controller test
|
2008-12-15 19:27:52 +00:00 |
|
Shaun McDonald
|
850bd333eb
|
removing debug statement
|
2008-12-12 18:56:22 +00:00 |
|
Shaun McDonald
|
c76e60f052
|
Improving the not found handling of preferences. adding a user preference test. adding some utility methods to the test helper
|
2008-12-12 18:54:03 +00:00 |
|
Matt Amos
|
aeaf2d2d20
|
Added missing version to the pure rails AMF controller. More stringent tests on whichways.
|
2008-12-10 14:31:07 +00:00 |
|
Matt Amos
|
3ed9ac21b5
|
Some fixes to the rails part of the AMF controller and associated test.
|
2008-12-10 13:23:21 +00:00 |
|
Shaun McDonald
|
67157f69f3
|
count -> size for compatibility with ruby 1.8.6
|
2008-12-08 15:47:29 +00:00 |
|
Shaun McDonald
|
c0b4c1b905
|
Adding some amf create poi tests. Minor bugfix tweaks to the amf controller
|
2008-12-08 14:22:34 +00:00 |
|
Shaun McDonald
|
e989b1a880
|
ensure that uploads that don't supply a lat and lon for a node. Adding related test and fixing other tests.
|
2008-12-01 18:32:54 +00:00 |
|
Shaun McDonald
|
6e98e324e5
|
better handling of duplicate tags. Extra validation in the tests.
|
2008-11-28 17:38:23 +00:00 |
|
Matt Amos
|
c3785ff278
|
Changed duplicate tags test to test the correct code path - was previously failing in libxml, rather than the duplicate tags check.
|
2008-11-28 12:33:18 +00:00 |
|