NIFI-2017 Fixing failing test PermissionBasedStatusMergerSpec.groovy introduced in previous commit

This commit is contained in:
Bryan Bende 2016-12-01 14:02:05 -05:00
parent 02f02b245a
commit 0297352350
No known key found for this signature in database
GPG Key ID: A0DDA9ED50711C39
1 changed files with 6 additions and 6 deletions

View File

@ -119,12 +119,12 @@ class PermissionBasedStatusMergerSpec extends Specification {
target | targetCanRead |
toMerge | toMergeCanRead ||
expectedDto
new PortStatusDTO(groupId: 'real', id: 'real', name: 'real') | true |
new PortStatusDTO(groupId: 'hidden', id: 'hidden', name: 'hidden') | false ||
new PortStatusDTO(groupId: 'hidden', id: 'hidden', name: 'hidden')
new PortStatusDTO(groupId: 'hidden', id: 'hidden', name: 'hidden') | false |
new PortStatusDTO(groupId: 'real', id: 'real', name: 'real') | true ||
new PortStatusDTO(groupId: 'hidden', id: 'hidden', name: 'hidden')
new PortStatusDTO(groupId: 'real', id: 'real', name: 'real', transmitting: 'false') | true |
new PortStatusDTO(groupId: 'hidden', id: 'hidden', name: 'hidden', transmitting: 'false') | false ||
new PortStatusDTO(groupId: 'hidden', id: 'hidden', name: 'hidden', transmitting: 'false')
new PortStatusDTO(groupId: 'hidden', id: 'hidden', name: 'hidden', transmitting: 'false') | false |
new PortStatusDTO(groupId: 'real', id: 'real', name: 'real', transmitting: 'false') | true ||
new PortStatusDTO(groupId: 'hidden', id: 'hidden', name: 'hidden', transmitting: 'false')
}
def "Merge PortStatusSnapshotDTO"() {