Make the view test more robust. It has been failing randomly.
This commit is contained in:
parent
61008c8bb8
commit
bf7c7aad55
1 changed files with 6 additions and 3 deletions
|
|
@ -139,14 +139,17 @@ $board->view;
|
||||||
cmp_bag(
|
cmp_bag(
|
||||||
$templateVars->{rows_loop},
|
$templateVars->{rows_loop},
|
||||||
[
|
[
|
||||||
{
|
superhashof({
|
||||||
deptHasChanged => ignore(),
|
deptHasChanged => ignore(),
|
||||||
status => 'In',
|
status => 'In',
|
||||||
dateStamp => ignore(),
|
dateStamp => ignore(),
|
||||||
message => 'work time',
|
message => 'work time',
|
||||||
username => 'red',
|
username => 'red',
|
||||||
},
|
}),
|
||||||
ignore(), ignore(), ignore(), ignore(),
|
superhashof({ username => 'Admin' }),
|
||||||
|
superhashof({ username => 'boggs' }),
|
||||||
|
superhashof({ username => 'andy' }),
|
||||||
|
superhashof({ username => 'hadley' }),
|
||||||
],
|
],
|
||||||
'view: returns one entry for each user, entry is correct for user with status'
|
'view: returns one entry for each user, entry is correct for user with status'
|
||||||
) or diag(Dumper $templateVars->{rows_loop});
|
) or diag(Dumper $templateVars->{rows_loop});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue