diff options
author | Ivan Kohler <ivan@freeside.biz> | 2015-07-26 15:41:26 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2015-07-26 15:41:26 -0700 |
commit | 9aee669886202be7035e6c6049fc71bc99dd3013 (patch) | |
tree | 2fd5bf6de74f3d99270587ffb1833e4188a6373d /rt/t/web/ticket_modify_people.t | |
parent | ac20214d38d9af00430423f147b5a0e50751b050 (diff) | |
parent | 1add633372bdca3cc7163c2ce48363fed3984437 (diff) |
Merge branch 'master' of git.freeside.biz:/home/git/freeside
Diffstat (limited to 'rt/t/web/ticket_modify_people.t')
-rw-r--r-- | rt/t/web/ticket_modify_people.t | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/rt/t/web/ticket_modify_people.t b/rt/t/web/ticket_modify_people.t index 750be3f2c..cefbf915b 100644 --- a/rt/t/web/ticket_modify_people.t +++ b/rt/t/web/ticket_modify_people.t @@ -1,7 +1,7 @@ use strict; use warnings; -use RT::Test tests => 23; +use RT::Test tests => 25; my $root = RT::Test->load_or_create_user( Name => 'root' ); my $group_foo = RT::Group->new($RT::SystemUser); @@ -80,7 +80,7 @@ ok( $m->reload; ok( $m->find_link( - text => 'Enoch Root', + text => 'root (Enoch Root)', url_regex => qr!/Admin/Users/Modify\.html!, ), 'got link to modify user' @@ -108,6 +108,16 @@ ok( 'got link to modify group' ); +$m->submit_form_ok({ + with_fields => { + WatcherTypeEmail1 => 'Cc', + WatcherAddressEmail1 => '"Foo Bar" <foo@example.com>', + }, + button => 'SubmitTicket', +}, "Added email with phrase as watcher"); + +my $foo = RT::Test->load_or_create_user( EmailAddress => 'foo@example.com' ); +is $foo->RealName, "Foo Bar", "RealName matches"; # TODO test Add|Delete people |