RT 4.2.11, ticket#13852
[freeside.git] / rt / t / web / config_tab_right.t
index 69bf80c..df14690 100644 (file)
@@ -19,7 +19,7 @@ my ($baseurl, $m) = RT::Test->started_ok;
 ok $m->login($uname, $upass), "logged in";
 
 {
-    $m->content_lacks('Configuration', 'no configuration tab');
+    $m->content_lacks('li-admin', 'no Admin tab');
     $m->get('/Admin/');
     is $m->status, 403, 'no access to /Admin/';
 }
@@ -32,9 +32,9 @@ RT::Test->set_rights(
 
 {
     $m->get('/');
-    $m->content_contains('Configuration', 'configuration tab is there');
+    $m->content_contains('li-admin', 'admin tab is there');
 
-    $m->follow_link_ok({text => 'Configuration'});
+    $m->follow_link_ok({text => 'Admin'});
     is $m->status, 200, 'user has access to /Admin/';
 }