From f062193076b5caaceebd9f1dae62c01234c3f3b1 Mon Sep 17 00:00:00 2001 From: Matthew Somerville Date: Tue, 7 Oct 2014 17:01:28 +0100 Subject: Validate category name/email/note in admin. This prevents the creation of a category with a blank name. Fixes #556. --- t/app/controller/admin.t | 1 + 1 file changed, 1 insertion(+) (limited to 't/app/controller/admin.t') diff --git a/t/app/controller/admin.t b/t/app/controller/admin.t index bf7a9ed70..2cc88ccc3 100644 --- a/t/app/controller/admin.t +++ b/t/app/controller/admin.t @@ -219,6 +219,7 @@ subtest 'check contact editing' => sub { $mech->content_contains( 'test2 note' ); $mech->content_contains( 'Public' ); + $mech->get_ok('/admin/body_edit/2650/test%20category'); $mech->submit_form_ok( { with_fields => { email => 'test2@example.com', note => 'test2 note', -- cgit v1.2.3