Changed the Groovy equals & hashcode usage to manual one
there's a bug in Groovy with autogenerated hashCode and byte arrays to fix it we've migrated from the AST to manual hashcode and equals generation fixes gh-546
This commit is contained in:
@@ -1232,7 +1232,7 @@ World.'''"""
|
||||
multipart(
|
||||
file: named(
|
||||
name: value(stub(regex('.+')), test('file')),
|
||||
content: value(stub(regex('.+')), test([100, 117, 112, 97] as byte[]))
|
||||
content: value(stub(regex('.+')), test([100, 117, 100, 97] as byte[]))
|
||||
)
|
||||
)
|
||||
}
|
||||
@@ -1255,9 +1255,9 @@ World.'''"""
|
||||
where:
|
||||
methodBuilderName | methodBuilder | requestStrings
|
||||
"MockMvcSpockMethodBuilder" | { Contract dsl -> new MockMvcSpockMethodRequestProcessingBodyBuilder(dsl, properties) } | ['"Content-Type", "multipart/form-data;boundary=AaB03x"',
|
||||
""".multiPart('file', 'file', [100, 117, 112, 97] as byte[])"""]
|
||||
""".multiPart('file', 'file', [100, 117, 100, 97] as byte[])"""]
|
||||
"MockMvcJUnitMethodBuilder" | { Contract dsl -> new MockMvcJUnitMethodBodyBuilder(dsl, properties) } | ['"Content-Type", "multipart/form-data;boundary=AaB03x"',
|
||||
'.multiPart("file", "file", new byte[] {100, 117, 112, 97});']
|
||||
'.multiPart("file", "file", new byte[] {100, 117, 100, 97});']
|
||||
}
|
||||
|
||||
@Issue('541')
|
||||
|
||||
Reference in New Issue
Block a user