AspireCloud/bruno/Plugins/Plugin Info.bru
Eric Adams 306b30ad07
Add initial bruno tests (#96)
* Add initial bruno tests

* Removed unneeded var setting
2024-11-06 17:39:08 -07:00

29 lines
474 B
Text

meta {
name: Plugin Info
type: http
seq: 4
}
get {
url: {{API_URL}}/plugins/info/:api_version/:slug
body: none
auth: none
}
params:path {
slug: newpath-wildapricot-press.json
api_version: 1.0
}
headers {
Host: api.wordpress.org
User-Agent: WordPress/6.2.2; http://172.18.0.5/
Accept: */*
Accept-Encoding: deflate, gzip
Connection: Keep-Alive
}
assert {
Object.keys(res.body): length 26
Object.keys(res.body.plugins[0]): contains sections
}