aboutsummaryrefslogtreecommitdiffstats
path: root/t/app
Commit message (Collapse)AuthorAgeLines
* switch to Sub::Override from Test::MockModuleStruan Donald2013-09-12-6/+7
| | | | | This is for consistency as Sub::Override is used for another test and also so we minimise the number of modules installed just for testing
* explicitly set bodies_str for abuse and app store testsStruan Donald2013-09-12-0/+2
| | | | | | | | The first email count test in the abuse subtest was failing on Travis but not on my machine because the sent email alert test was running on my machine, as it has the mock module installed, and this was resetting the bodies_str to one with a confirmed contact. Setting bodies_str on both these tests stops this sort of thing happening again
* mechanism to stop app store tests being sentStruan Donald2013-09-12-0/+29
| | | | | | In order to allow the iOS app to be tested in the app store we need to allow the user to create a report but we don't want to send it. To allow this hide reports with a specific title during send_reports
* Test to check reports from abuse users not sentStruan Donald2013-09-12-0/+47
| | | | | | Reports that have been created by a user who is logged in but whose email is in the abuse table should be hidden and not sent by send_reports.
* Don't use a domain name when testing that the default ALLOWED_COBRANDS will ↵Edmund von der Burg2013-09-10-2/+2
| | | | match to the wrong cobrand.
* Switch Token over to use RABXColumn and test that changes to the col behave ↵Edmund von der Burg2013-09-10-1/+45
| | | | as expected
* Add RABX column code and testsEdmund von der Burg2013-09-10-0/+23
|
* Spell out all "marked as %s" strings.Matthew Somerville2013-09-05-2/+3
| | | | | As doing interpolation from a database state field is not great for translation. Fixes #391.
* Disable info level logging in some testsEdmund von der Burg2013-09-05-0/+15
|
* Remove unneeded test diagnosticsEdmund von der Burg2013-09-05-2/+0
|
* Use format_datetime for DBIx::Class searches to get rid of warnings when ↵Edmund von der Burg2013-09-05-12/+22
| | | | running test suite
* Fix about controller testChris Mytton2013-08-30-1/+1
|
* Fix failing test for problem confirmationStruan Donald2013-08-01-1/+2
| | | | | Update for change to bodies_str, make sure sent_fail_count 0 and update standard template variables
* Send back a list of titles in new report ajax detailsStruan Donald2013-08-01-1/+6
| | | | | This is so that the mobile app can use the list to build the appropriate UI as fixing the HTML that is sent for the site is too awful.
* Update test as alert email no longer sent in this case.Matthew Somerville2013-06-19-21/+0
|
* Only append cobrand_data to URI if present.Matthew Somerville2013-06-05-4/+4
|
* Test fix as the wards of Gloucestershire have changed.Matthew Somerville2013-06-03-4/+4
|
* Fix test as M tokens now not deleted.Matthew Somerville2013-05-13-6/+1
|
* Update some tests to work around small changes in some underlying modules.Matthew Somerville2013-05-07-69/+15
|
* Update state name from Erledigt to Beantwortet.Matthew Somerville2013-04-19-2/+2
|
* Include other open states in all reports table.Matthew Somerville2013-04-19-1/+9
|
* Fix some missing time zone declarations in tests.Matthew Somerville2013-04-09-4/+4
|
* Merge branch 'zurich'Matthew Somerville2013-03-14-1/+1
|\ | | | | | | | | | | | | | | | | Conflicts: locale/FixMyStreet.po locale/cy_GB.UTF-8/LC_MESSAGES/EmptyHomes.po locale/de_CH.UTF-8/LC_MESSAGES/FixMyStreet.po locale/nb_NO.UTF-8/LC_MESSAGES/FixMyStreet.po locale/nn_NO.UTF-8/LC_MESSAGES/FixMyStreet.po
| * Fix test word change.Matthew Somerville2013-03-11-1/+1
| |
* | Add duration to test update so one definitely comes after the other.Matthew Somerville2013-02-22-1/+1
| |
* | Update test to match change in HTML.Matthew Somerville2013-02-21-1/+1
|/
* Fix tests.Matthew Somerville2013-02-20-2/+2
|
* Remove *_local tz functions, set timezone on fetching original columns from ↵Matthew Somerville2013-02-14-6/+6
| | | | database.
* Use FixMyStreet TestMech child, so has access to its functions.Matthew Somerville2013-02-04-5/+2
|
* Make sure bodies exist that redirects test for.Matthew Somerville2013-02-04-0/+7
|
* Make sure updates are fetched in known order for the test.Matthew Somerville2013-02-04-6/+5
|
* Delete users first off, in case broken test left them lying around or similar.Matthew Somerville2013-02-04-6/+9
|
* Translation update, update test to match.Matthew Somerville2013-02-04-1/+1
|
* Disable dashboard.tMatthew Somerville2013-02-04-0/+4
|
* Merge remote branch 'origin/zurich'Matthew Somerville2013-02-04-188/+424
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: bin/open311-populate-service-list bin/send-comments bin/update-all-reports conf/crontab.ugly db/schema.sql perllib/FixMyStreet/App/Controller/Admin.pm perllib/FixMyStreet/App/Controller/Report/New.pm perllib/FixMyStreet/App/Controller/Reports.pm perllib/FixMyStreet/Cobrand/Default.pm perllib/FixMyStreet/Cobrand/LichfieldDC.pm perllib/FixMyStreet/DB/Result/Open311conf.pm perllib/FixMyStreet/DB/Result/Problem.pm perllib/FixMyStreet/DB/ResultSet/Problem.pm perllib/FixMyStreet/SendReport.pm perllib/FixMyStreet/SendReport/Email.pm perllib/FixMyStreet/SendReport/Open311.pm perllib/Open311/GetServiceRequestUpdates.pm perllib/Open311/PopulateServiceList.pm t/app/controller/report_new.t t/app/controller/rss.t templates/web/bromley/report/display.html templates/web/default/admin/council_contacts.html templates/web/default/common_header_tags.html templates/web/default/dashboard/index.html templates/web/default/front/stats.html templates/web/default/report/_main.html templates/web/default/report/update-form.html templates/web/emptyhomes/index.html templates/web/emptyhomes/report/display.html templates/web/emptyhomes/report/new/councils_text_all.html templates/web/emptyhomes/reports/body.html templates/web/emptyhomes/reports/index.html templates/web/fixmystreet/report/new/fill_in_details_form.html templates/web/fixmystreet/report/update-form.html web/cobrands/fixmystreet/fixmystreet.js web/js/fixmystreet.js
| * Add some Zurich banner tests.Matthew Somerville2013-01-23-3/+73
| |
| * Improve test to not be so fragile around newlines.Matthew Somerville2013-01-18-1/+1
| |
| * Correct text now body name given on page.Matthew Somerville2012-12-20-1/+1
| |
| * Allow unconfirmed reports to be seen on Zurich site.Matthew Somerville2012-12-19-0/+13
| |
| * Fix missed variable name change, and accompanying test.Matthew Somerville2012-12-19-0/+51
| |
| * Area IDs come in as an arrayref, and body may not have an area ID.Matthew Somerville2012-12-19-10/+2
| |
| * Allow bodies to span multiple area IDs, and areas can be covered by more ↵Matthew Somerville2012-12-19-17/+18
| | | | | | | | than one body.
| * Migrate Reports.pm to use bodies, not areas.Matthew Somerville2012-12-15-0/+5
| |
| * Make from_body a foreign key.Matthew Somerville2012-12-15-20/+24
| |
| * Fix for a missed council column rename, and a test that would have caught it.Matthew Somerville2012-12-15-0/+63
| |
| * Update admin code and tests to work with bodies.Matthew Somerville2012-12-15-40/+43
| |
| * Update tests for new names of things and bodies needing to exist.Matthew Somerville2012-12-15-49/+83
| |
| * Rename council column to bodies_str, and all the related code.Matthew Somerville2012-12-15-27/+27
| |
| * Rename area_id on Contacts table to body_id.Matthew Somerville2012-12-15-22/+22
| | | | | | | | Add foreign key constraint from contacts to body.
| * Rename from_council to from_body, and small related changes.Matthew Somerville2012-12-15-17/+17
| |