This test fails randomly, on the difference between 0 and undef. Update it to use bool().
This commit is contained in:
parent
0e7ce2c0e3
commit
0a05907c39
1 changed files with 1 additions and 4 deletions
|
|
@ -255,7 +255,7 @@ $session->user({userId => 1});
|
|||
cmp_deeply(
|
||||
$templateVars,
|
||||
{
|
||||
canPostStories => 0,
|
||||
canPostStories => bool(0),
|
||||
mode => 'view',
|
||||
addStoryUrl => '',
|
||||
date_loop => [
|
||||
|
|
@ -419,9 +419,6 @@ $archive->update({storiesPerPage => 25});
|
|||
$templateVars = $archive->viewTemplateVariables('search');
|
||||
is($templateVars->{mode}, 'search', 'viewTemplateVariables mode == search');
|
||||
|
||||
use Data::Dumper;
|
||||
diag Dumper $templateVars->{date_loop};
|
||||
|
||||
cmp_bag(
|
||||
$templateVars->{date_loop},
|
||||
[
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue