mirror of
https://github.com/usebruno/bruno.git
synced 2026-06-29 23:54:24 +00:00
feat(tests): add URL serialization test case for Duplicate Keys
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
meta {
|
||||
name: Duplicate Keys
|
||||
type: http
|
||||
seq: 1
|
||||
}
|
||||
|
||||
post {
|
||||
url: https://echo.usebruno.com
|
||||
body: formUrlEncoded
|
||||
auth: none
|
||||
}
|
||||
|
||||
headers {
|
||||
Content-Type: application/x-www-form-urlencoded
|
||||
}
|
||||
|
||||
body:form-urlencoded {
|
||||
tags: frontend
|
||||
tags: api
|
||||
user: john
|
||||
}
|
||||
|
||||
script:post-response {
|
||||
test('Response body matches expected value', function () {
|
||||
expect(res.getBody()).to.eql("tags=frontend&tags=api&user=john");
|
||||
});
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
meta {
|
||||
name: url-serialization
|
||||
seq: 13
|
||||
}
|
||||
|
||||
auth {
|
||||
mode: inherit
|
||||
}
|
||||
Reference in New Issue
Block a user