mirror of https://github.com/apache/nifi.git
NIFI-3483 - fixed one unit test relying on locale
This closes #1566. Signed-off-by: Aldrin Piri <aldrin@apache.org>
This commit is contained in:
parent
70175816b3
commit
01979aebec
|
@ -176,7 +176,7 @@ class StandardHttpResponseMapperSpec extends Specification {
|
|||
// expectedEntity
|
||||
new ConnectionEntity(id: '1', permissions: new PermissionsDTO(canRead: false, canWrite: false),
|
||||
status: new ConnectionStatusDTO(aggregateSnapshot: new ConnectionStatusSnapshotDTO(bytesIn: 1000,
|
||||
input: '0 (1,000 bytes)', output: '0 (0 bytes)', queued: '0 (0 bytes)', queuedSize: '0 bytes', queuedCount: 0)))
|
||||
input: "0 (${NumberFormat.instance.format(1000)} bytes)", output: '0 (0 bytes)', queued: '0 (0 bytes)', queuedSize: '0 bytes', queuedCount: 0)))
|
||||
"nifi-api/process-groups/${UUID.randomUUID()}/labels" | 'get' | [
|
||||
new LabelsEntity(labels: [new LabelEntity(id: '1', permissions: new PermissionsDTO(canRead: true, canWrite: true), component: new LabelDTO())] as Set),
|
||||
new LabelsEntity(labels: [new LabelEntity(id: '1', permissions: new PermissionsDTO(canRead: false, canWrite: false))] as Set),
|
||||
|
|
Loading…
Reference in New Issue