aboutsummaryrefslogtreecommitdiffstats
path: root/t/open311/getupdates.t
Commit message (Collapse)AuthorAgeLines
* Switch all Norwegian tests to Swedish.Dave Arter2019-05-28-5/+4
| | | | | | | | | | On Macs, the Norwegian locale is no_NO, whereas on Debian it is nb_NO: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=206474 This can cause issues running the Norwegian tests on Macs with certain setups (e.g. on my machine a Homebrew installation of perl and gettext fails, but MacPorts and system pass). As Swedish is sv_SE in both, the easiest solution is to switch the tests to Swedish.
* Run each test file in a transaction.Matthew Somerville2017-06-20-3/+1
| | | | This means that the tests can be run in parallel.
* Remove need for sv_SE in tests.Matthew Somerville2017-05-25-3/+3
|
* Updates to cpanfile and code for perl 5.20/5.22.Matthew Somerville2016-03-23-6/+16
| | | | | | | | | | | | | | | | | | | | The following modules had bugs that have been fixed for working in recent perls: * List::MoreUtils * Guard * PadWalker * aliased * URI * Convert::NLS_DATE_FORMAT The CGI module was removed from core in 5.20, so include it in the snapshot (I don't think it's actually used, but is a dependency). "{" needs to be escaped in regular expressions, and ~~ should not be used. Fix some tests that expect e.g. a certain hash ordering, to use sorted output or better comparisons.
* Reduce use of FixMyStreet::App.Matthew Somerville2015-12-02-3/+4
| | | | Command line scripts don't need a full blown app, just database.
* Update old-style open311 script to use bodies.Matthew Somerville2014-04-07-3/+6
| | | | Add some comments to the top of the open311 bin scripts.
* Add test for de47a7f.Matthew Somerville2014-03-12-15/+63
| | | | | | This tests that the default string used by the old-style Open311 update code if there is no incoming string and the report is marked fixed, is translated.
* Bring back open311-update-reports, GetUpdates.pm and getupdates.tJon Kristensen2014-03-11-0/+198
| | | | | | This commit reverses the "Remove unused Open311 GetUpdates code." commit. FixaMinGata, the Swedish FixMyStreet cobrand, is still using open311-update-reports.
* Remove unused Open311 GetUpdates code.Matthew Somerville2012-12-15-198/+0
|
* fix failing test and remove debug codeStruan Donald2011-08-22-4/+4
|
* shuffle problem update code about to make it easier to test and write some testsStruan Donald2011-08-12-0/+198