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(
|
||||
$templateVars->{rows_loop},
|
||||
[
|
||||
{
|
||||
superhashof({
|
||||
deptHasChanged => ignore(),
|
||||
status => 'In',
|
||||
dateStamp => ignore(),
|
||||
message => 'work time',
|
||||
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'
|
||||
) or diag(Dumper $templateVars->{rows_loop});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue