Update changelog and fix distant-protocol test issue

pull/200/head
Chip Senkbeil 11 months ago
parent 437c153500
commit fc08833c5b
No known key found for this signature in database
GPG Key ID: 35EF1F8EC72A4131

@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
### Added
- `Request` and `Response` types from `distant-net` now support an optional
`Header` to send miscellaneous information
### Changed
- `Change` structure now provides a single `path` instead of `paths` with the

@ -631,7 +631,7 @@ mod tests {
value,
serde_json::json!({
"type": "changed",
"ts": u64::MAX,
"timestamp": u64::MAX,
"kind": "access",
"path": "path",
})
@ -657,13 +657,13 @@ mod tests {
value,
serde_json::json!({
"type": "changed",
"ts": u64::MAX,
"timestamp": u64::MAX,
"kind": "access",
"path": "path",
"details": {
"attribute": "permissions",
"renamed": "renamed",
"ts": u64::MAX,
"timestamp": u64::MAX,
"extra": "info",
},
})
@ -674,7 +674,7 @@ mod tests {
fn should_be_able_to_deserialize_minimal_payload_from_json() {
let value = serde_json::json!({
"type": "changed",
"ts": u64::MAX,
"timestamp": u64::MAX,
"kind": "access",
"path": "path",
});
@ -695,13 +695,13 @@ mod tests {
fn should_be_able_to_deserialize_full_payload_from_json() {
let value = serde_json::json!({
"type": "changed",
"ts": u64::MAX,
"timestamp": u64::MAX,
"kind": "access",
"path": "path",
"details": {
"attribute": "permissions",
"renamed": "renamed",
"ts": u64::MAX,
"timestamp": u64::MAX,
"extra": "info",
},
});

Loading…
Cancel
Save