remove grepping hash keys for single value
This commit is contained in:
parent
96ba0da75a
commit
2c2bd55675
1 changed files with 2 additions and 2 deletions
|
|
@ -463,7 +463,7 @@ sub t_10_addRevision : Tests {
|
|||
# copied this code
|
||||
SKIP: {
|
||||
no strict 'refs';
|
||||
skip 'Added to existing working tag / class does something magical to tagId using a custom getAutoCommitWorkflowId method', 1, if grep $_ eq 'getAutoCommitWorkflowId', keys %{$test->class . '::'};
|
||||
skip 'Added to existing working tag / class does something magical to tagId using a custom getAutoCommitWorkflowId method', 1, if exists ${$test->class . '::'}{getAutoCommitWorkflowId};
|
||||
is( $newRevision->tagId, $tag->getId, 'Added to existing working tag' );
|
||||
};
|
||||
|
||||
|
|
@ -587,7 +587,7 @@ warn "XXX mergedProperties: " . Dumper \%mergedProperties;
|
|||
|
||||
SKIP: {
|
||||
no strict 'refs';
|
||||
skip 'class does something magical to tagId using a custom getAutoCommitWorkflowId method', 1, if grep $_ eq 'getAutoCommitWorkflowId', keys %{$test->class . '::'};
|
||||
skip 'class does something magical to tagId using a custom getAutoCommitWorkflowId method', 1, if exists ${$test->class . '::'}{getAutoCommitWorkflowId};
|
||||
is( $newRevision->tagId, $tag->getId, 'new revision tagId is current working tag' );
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue