aboutsummaryrefslogtreecommitdiffstats
path: root/t
Commit message (Collapse)AuthorAgeLines
* Have a central config-override function.Matthew Somerville2013-09-13-60/+20
| | | | You only need to pass in the values you wish to be different.
* 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
* [Zurich] Use subtest blocks to seperate test casesChris Mytton2013-09-12-39/+44
|
* [Zurich] Put the phone number test into a subtest blockChris Mytton2013-09-12-29/+30
|
* [Zurich] Make sure mapit url is set properlyChris Mytton2013-09-12-0/+1
|
* [Zurich] Try to override config in testsChris Mytton2013-09-12-1/+25
|
* 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.
* Merge branch 'zurich-optional-problem-rejected-email'Chris Mytton2013-09-12-0/+16
|\ | | | | | | | | Conflicts: t/cobrand/zurich.t
| * [Zurich] Test rejected email are only sent when requestedChris Mytton2013-09-11-0/+16
| |
* | Merge branch 'zurich-407-generate-note-when-sdm-assigned'Chris Mytton2013-09-12-1/+43
|\ \
| * | [Zurich] create internal note when the category is changedEdmund von der Burg2013-09-11-3/+7
| | |
| * | [Zurich] Add tests for changing categories in the admin interfaceEdmund von der Burg2013-09-11-0/+38
| | |
* | | Merge branch 'zurich-mark-external-addresses-deleted'Chris Mytton2013-09-12-0/+14
|\ \ \ | | | | | | | | | | | | | | | | Conflicts: t/cobrand/zurich.t
| * | | [Zurich] Test deleted bodies can't have problems assignedChris Mytton2013-09-11-0/+14
| | |/ | |/|
* | | Merge branch 'master' into zurich-add-internal-notesChris Mytton2013-09-12-2/+9
|\ \ \ | |_|/ |/| |
| * | Merge branch 'rabx-column-refactor'Chris Mytton2013-09-12-1/+68
| |\ \
| * \ \ Merge branch 'zurich-mandatory-telephone-number'Chris Mytton2013-09-12-2/+9
| |\ \ \ | | |_|/ | |/| |
| | * | Merge branch 'master' into zurich-mandatory-telephone-numberChris Mytton2013-09-05-14/+37
| | |\ \
| | * | | [Zurich] Add test for missing phone numberChris Mytton2013-09-05-0/+7
| | | | |
| | * | | [Zurich] Fix spacing in testsChris Mytton2013-09-05-2/+2
| | | | |
* | | | | [Zurich] Save internal notes as hidden comments, rather than in the extra fieldEdmund von der Burg2013-09-10-3/+5
| | | | |
* | | | | Handle user already existing (as it may in dev)Edmund von der Burg2013-09-10-0/+1
| | | | |
* | | | | Don't use a domain name when testing that the default ALLOWED_COBRANDS will ↵Edmund von der Burg2013-09-10-3/+3
| | | | | | | | | | | | | | | | | | | | match to the wrong cobrand.
* | | | | Override the config so that Zurich tests can be run with normal dev configEdmund von der Burg2013-09-10-6/+38
| | | | |
* | | | | [Zurich] remove debugging from testEdmund von der Burg2013-09-10-3/+0
| | | | |
* | | | | [Zurich] Notes on steps required to get zurich tests to runEdmund von der Burg2013-09-10-0/+21
| |_|_|/ |/| | |
* | | | 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 comment in testsChris Mytton2013-09-04-1/+1
|
* [Zurich] Use get_ok for superuser adding bodies testChris Mytton2013-09-04-1/+1
|
* [Zurich] Test for only superusers can add bodiesChris Mytton2013-09-04-0/+6
|
* [Zurich] Add test for superuser body editingChris Mytton2013-09-03-0/+7
|
* Update test to match text change in June.Matthew Somerville2013-08-30-2/+2
| | | | Silly me.
* Fix about controller testChris Mytton2013-08-30-1/+1
|
* Open311 should user name from report not userStruan Donald2013-08-19-0/+27
| | | | | Open311 was using the name in the user table for it's reports when it should be the one in the problem table.
* 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
|
* Update test for change in 73c7fa6.Matthew Somerville2013-06-04-2/+2
|
* 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-76/+26
|
* Update state name from Erledigt to Beantwortet.Matthew Somerville2013-04-19-8/+8
|