aboutsummaryrefslogtreecommitdiffstats
path: root/t/app
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2015-07-31 12:01:27 +0100
committerMatthew Somerville <matthew@mysociety.org>2015-07-31 12:21:33 +0100
commit87543f78383eaab0d78d0fadc1655e39f9335517 (patch)
tree3b652a2bbd1c08118cd0ae06ba93de252f490abc /t/app
parent939c6d6de069654fcbcb82722de5d71fd8cb1622 (diff)
Move Latin-char-specific name check to cobrand.
Also move some UK-specific code in the same function. The specific code is still tested in report_new.t.
Diffstat (limited to 't/app')
-rw-r--r--t/app/model/problem.t24
1 files changed, 0 insertions, 24 deletions
diff --git a/t/app/model/problem.t b/t/app/model/problem.t
index 1b6488fc7..ad82a62a5 100644
--- a/t/app/model/problem.t
+++ b/t/app/model/problem.t
@@ -67,30 +67,6 @@ for my $test (
}
},
{
- desc => 'name too short',
- changed => {
- name => 'xx',
- },
- errors => {
- title => 'Please enter a subject',
- detail => 'Please enter some details',
- bodies => 'No council selected',
- name => 'Please enter your full name, councils need this information – if you do not wish your name to be shown on the site, untick the box below',
- }
- },
- {
- desc => 'name is anonymous',
- changed => {
- name => 'anonymous',
- },
- errors => {
- title => 'Please enter a subject',
- detail => 'Please enter some details',
- bodies => 'No council selected',
- name => 'Please enter your full name, councils need this information – if you do not wish your name to be shown on the site, untick the box below',
- }
- },
- {
desc => 'correct name',
changed => {
name => 'A User',