Remove notes and diags
This commit is contained in:
parent
bd4e7a2ec0
commit
cb2bb75d23
7 changed files with 0 additions and 10 deletions
|
|
@ -106,7 +106,6 @@ my $uploadsPath = Path::Class::Dir->new($session->config->get('uploadsPath'));
|
|||
my $uploadsUrl = Path::Class::Dir->new($session->config->get('uploadsURL'));
|
||||
my $graphRelative = $graphUrl->relative($uploadsUrl);
|
||||
my $graphFile = $uploadsPath->file($graphRelative);
|
||||
note $graphFile->stringify;
|
||||
|
||||
ok(-e $graphFile->stringify, 'graph exists');
|
||||
|
||||
|
|
|
|||
|
|
@ -123,7 +123,6 @@ $search->update({
|
|||
$search->update({useContainers => 1});
|
||||
$search->view;
|
||||
like $templateVars->{result_set}->[0]->{url}, qr{\?pn=\d}, 'search returns paginated URL for a Thread when useContainers=1';
|
||||
note Dumper $templateVars;
|
||||
|
||||
WebGUI::Test->unmockAssetId($templateId);
|
||||
$session->request->setup_body({});
|
||||
|
|
|
|||
|
|
@ -74,8 +74,6 @@ $xmlData = XMLin($output,
|
|||
);
|
||||
@actual_urls = map { $_->{loc} } @{ $xmlData->{urlset}->{url} };
|
||||
@expected_urls = map { $session->url->getSiteURL . '/' . $_ } qw{ home getting_started your_next_step documentation join_us site_map hidden_page };
|
||||
use Data::Dumper;
|
||||
diag Dumper \@actual_urls;
|
||||
cmp_deeply(
|
||||
\@actual_urls,
|
||||
\@expected_urls,
|
||||
|
|
|
|||
|
|
@ -289,7 +289,6 @@ cmp_bag($gB->getGroupsIn(), [$gA->getId, 3], 'Group A is in Group B');
|
|||
cmp_bag($gA->getGroupsFor(), [$gB->getId], 'Group B contains Group A');
|
||||
cmp_bag($gA->getGroupsIn(), [3], 'Admin added to group A automatically');
|
||||
|
||||
diag $gA->getId;
|
||||
$gA->addGroups([$gB->getId]);
|
||||
cmp_bag($gA->getGroupsIn(), [3], 'Not allowed to create recursive group loops');
|
||||
|
||||
|
|
|
|||
|
|
@ -130,8 +130,6 @@ is(scalar @{ $inbox->getMessagesForUser($admin, '', '', '', 'sentBy='.$session->
|
|||
is($inbox->getUnreadMessageCount($admin->userId), 4, 'getUnreadMessageCount');
|
||||
my $messages = $inbox->getMessagesForUser($admin);
|
||||
$messages->[0]->setRead($admin->userId);
|
||||
note $messages->[0]->getStatus;
|
||||
note $messages->[0]->isRead;
|
||||
is($inbox->getUnreadMessageCount($admin->userId), 3, '... really tracks unread messages');
|
||||
|
||||
#vim:ft=perl
|
||||
|
|
|
|||
|
|
@ -354,8 +354,6 @@ cmp_deeply(
|
|||
|
||||
isa_ok( $driver->get(), 'HASH', 'get returns a hashref if called with no param');
|
||||
|
||||
note explain $driver->get();
|
||||
|
||||
is($driver->get('groupToUse'), 7, '... default group is 7');
|
||||
|
||||
$options = $driver->get();
|
||||
|
|
|
|||
|
|
@ -53,7 +53,6 @@ my $nonRootLink = qr{
|
|||
sub checkLinks {
|
||||
my ($tag, $attrs) = @_;
|
||||
if ($tag eq 'link' && $attrs->{href}) {
|
||||
note sprintf '%s: %s', $tag, $attrs->{href};
|
||||
if ($attrs->{href} !~ $nonRootLink) {
|
||||
$validLinks = 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue