File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed
fixtures/claim_aggregation/ica_validation Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -736,10 +736,11 @@ async fn unsupported_did_method() {
736
736
assert ! ( log_items. next( ) . is_none( ) ) ;
737
737
}
738
738
739
- // TO DO (CAI-7996): Not sure why this doesn't run on Wasm/WASI.
740
- #[ cfg( not( target_arch = "wasm32" ) ) ]
741
- #[ tokio:: test]
742
- #[ ignore] // (CAI-9157) This is timing out every time it runs. See https://github.com/contentauth/c2pa-rs/issues/1277
739
+ #[ cfg_attr( not( target_arch = "wasm32" ) , tokio:: test) ]
740
+ #[ cfg_attr(
741
+ all( target_arch = "wasm32" , not( target_os = "wasi" ) ) ,
742
+ wasm_bindgen_test
743
+ ) ]
743
744
async fn unresolvable_did ( ) {
744
745
// If the DID can not be resolved, the validator MUST issue the failure code
745
746
// `cawg.ica.did_unavailable` but MAY continue validation.
@@ -791,7 +792,7 @@ async fn unresolvable_did() {
791
792
. err_val
792
793
. as_ref( )
793
794
. unwrap( ) ,
794
- "SignatureError(DidResolutionError(\" the document was not found: https://example.com/.well-known /did.json\" ))" ) ;
795
+ "SignatureError(DidResolutionError(\" the document was not found: https://cawg-test-data.github.io/test-case/unresolvable-did /did.json\" ))" ) ;
795
796
796
797
assert_eq ! (
797
798
li. validation_status. as_ref( ) . unwrap( ) ,
You can’t perform that action at this time.
0 commit comments