Skip to content

Commit 6b92c1e

Browse files
committed
bump catalyst-signed-doc-spec, enable back content-encoding test cases
1 parent b421ea7 commit 6b92c1e

16 files changed

+16
-31
lines changed

rust/signed_doc/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ cbork-utils = { version = "0.0.3", git = "https://github.com/input-output-hk/cat
1616

1717
# When updating the specification version, it should also be updated for the `catalyst-signed-doc-macro` crate.
1818
catalyst-signed-doc-macro = { version = "0.0.1", path = "../catalyst-signed-doc-macro" }
19-
catalyst-signed-doc-spec = { version = "0.2.0", git = "https://github.com/input-output-hk/catalyst-libs.git", tag = "catalyst-signed-doc-spec/v0.2.0" }
19+
catalyst-signed-doc-spec = { version = "0.2.1", git = "https://github.com/input-output-hk/catalyst-libs.git", tag = "catalyst-signed-doc-spec/v0.2.1" }
2020

2121
anyhow = "1.0.95"
2222
serde = { version = "1.0.217", features = ["derive"] }

rust/signed_doc/tests/brand_parameters.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,7 @@ mod common;
9595
.add_signature(|m| sk.sign(&m).to_vec(), kid)?
9696
.build()
9797
}
98-
// TODO: Re-enable this test case after the `content-type` fields becomes optional again.
99-
=> ignore["non-optional `content-type`"] true
98+
=> true
10099
;
101100
"missing 'content-encoding' (optional)"
102101
)]

rust/signed_doc/tests/brand_parameters_form_template.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,7 @@ mod common;
7676
.add_signature(|m| sk.sign(&m).to_vec(), kid)?
7777
.build()
7878
}
79-
// TODO: Re-enable this test case after the `content-type` fields becomes optional again.
80-
=> ignore["non-optional `content-type`"] true
79+
=> true
8180
;
8281
"missing 'content-encoding' (optional)"
8382
)]

rust/signed_doc/tests/campaign_parameters.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,7 @@ mod common;
109109
.add_signature(|m| sk.sign(&m).to_vec(), kid)?
110110
.build()
111111
}
112-
// TODO: Re-enable this test case after the `content-type` fields becomes optional again.
113-
=> ignore["non-optional `content-type`"] true
112+
=> true
114113
;
115114
"missing 'content-encoding' (optional)"
116115
)]

rust/signed_doc/tests/campaign_parameters_form_template.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,7 @@ mod common;
9999
.add_signature(|m| sk.sign(&m).to_vec(), kid)?
100100
.build()
101101
}
102-
// TODO: Re-enable this test case after the `content-type` fields becomes optional again.
103-
=> ignore["non-optional `content-type`"] true
102+
=> true
104103
;
105104
"missing 'content-encoding' (optional)"
106105
)]

rust/signed_doc/tests/category_parameters.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,7 @@ mod common;
118118
.add_signature(|m| sk.sign(&m).to_vec(), kid)?
119119
.build()
120120
}
121-
// TODO: Re-enable this test case after the `content-type` fields becomes optional again.
122-
=> ignore["non-optional `content-type`"] true
121+
=> true
123122
;
124123
"missing 'content-encoding' (optional)"
125124
)]

rust/signed_doc/tests/category_parameters_form_template.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,7 @@ mod common;
108108
.add_signature(|m| sk.sign(&m).to_vec(), kid)?
109109
.build()
110110
}
111-
// TODO: Re-enable this test case after the `content-type` fields becomes optional again.
112-
=> ignore["non-optional `content-type`"] true
111+
=> true
113112
;
114113
"missing 'content-encoding' (optional)"
115114
)]

rust/signed_doc/tests/contest_ballot.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,7 @@ mod common;
133133
.add_signature(|m| sk.sign(&m).to_vec(), kid)?
134134
.build()
135135
}
136-
// TODO: Re-enable this test case after the `content-type` fields becomes optional again.
137-
=> ignore["non-optional `content-type`"] true
136+
=> true
138137
;
139138
"missing 'content-encoding' (optional)"
140139
)]

rust/signed_doc/tests/contest_ballot_checkpoint.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,7 @@ mod common;
151151
.add_signature(|m| sk.sign(&m).to_vec(), kid)?
152152
.build()
153153
}
154-
// TODO: Re-enable this test case after the `content-type` fields becomes optional again.
155-
=> ignore["non-optional `content-type`"] true
154+
=> true
156155
;
157156
"missing 'content-encoding' (optional)"
158157
)]

rust/signed_doc/tests/contest_parameters.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,7 @@ mod common;
138138
.add_signature(|m| sk.sign(&m).to_vec(), kid)?
139139
.build()
140140
}
141-
// TODO: Re-enable this test case after the `content-type` fields becomes optional again.
142-
=> ignore["non-optional `content-type`"] true
141+
=> true
143142
;
144143
"missing 'content-encoding' (optional)"
145144
)]

0 commit comments

Comments
 (0)