@@ -138,7 +138,9 @@ pub mod query {
138
138
#[ cfg( test) ]
139
139
mod tests {
140
140
use super :: * ;
141
- use crate :: msg:: { DataverseResponse , RdfFormat , TripleStoreConfig , TripleStoreLimitsInput } ;
141
+ use crate :: msg:: {
142
+ DataverseResponse , RdfDatasetFormat , TripleStoreConfig , TripleStoreLimitsInput ,
143
+ } ;
142
144
use crate :: testutil:: testutil:: read_test_data;
143
145
use axone_cognitarium:: msg:: {
144
146
DataFormat , Head , Node , Results , SelectItem , SelectQuery , SelectResponse ,
@@ -271,7 +273,7 @@ mod tests {
271
273
272
274
let msg = ExecuteMsg :: SubmitClaims {
273
275
metadata : Binary :: from ( "data" . as_bytes ( ) ) ,
274
- format : Some ( RdfFormat :: NQuads ) ,
276
+ format : Some ( RdfDatasetFormat :: NQuads ) ,
275
277
} ;
276
278
277
279
let result = execute ( deps. as_mut ( ) , env, info, msg) ;
@@ -338,7 +340,7 @@ mod tests {
338
340
mock_info ( "axone1072nc6egexqr2v6vpp7yxwm68plvqnkf5uemr0" , & [ ] ) ,
339
341
ExecuteMsg :: SubmitClaims {
340
342
metadata : Binary ( read_test_data ( "vc-eddsa-2020-ok.nq" ) ) ,
341
- format : Some ( RdfFormat :: NQuads ) ,
343
+ format : Some ( RdfDatasetFormat :: NQuads ) ,
342
344
} ,
343
345
) ;
344
346
@@ -400,7 +402,7 @@ _:b0 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://example.org/exam
400
402
mock_info ( "axone1072nc6egexqr2v6vpp7yxwm68plvqnkf5uemr0" , & [ ] ) ,
401
403
ExecuteMsg :: SubmitClaims {
402
404
metadata : Binary ( "notrdf" . as_bytes ( ) . to_vec ( ) ) ,
403
- format : Some ( RdfFormat :: NQuads ) ,
405
+ format : Some ( RdfDatasetFormat :: NQuads ) ,
404
406
} ,
405
407
) ;
406
408
@@ -416,7 +418,7 @@ _:b0 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://example.org/exam
416
418
mock_info ( "axone1072nc6egexqr2v6vpp7yxwm68plvqnkf5uemr0" , & [ ] ) ,
417
419
ExecuteMsg :: SubmitClaims {
418
420
metadata : Binary ( vec ! [ ] ) ,
419
- format : Some ( RdfFormat :: NQuads ) ,
421
+ format : Some ( RdfDatasetFormat :: NQuads ) ,
420
422
} ,
421
423
) ;
422
424
@@ -435,7 +437,7 @@ _:b0 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://example.org/exam
435
437
mock_info ( "axone1072nc6egexqr2v6vpp7yxwm68plvqnkf5uemr0" , & [ ] ) ,
436
438
ExecuteMsg :: SubmitClaims {
437
439
metadata : Binary ( read_test_data ( "vc-eddsa-2020-ok-unsecured.nq" ) ) ,
438
- format : Some ( RdfFormat :: NQuads ) ,
440
+ format : Some ( RdfDatasetFormat :: NQuads ) ,
439
441
} ,
440
442
) ;
441
443
@@ -454,7 +456,7 @@ _:b0 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://example.org/exam
454
456
mock_info ( "axone1072nc6egexqr2v6vpp7yxwm68plvqnkf5uemr0" , & [ ] ) ,
455
457
ExecuteMsg :: SubmitClaims {
456
458
metadata : Binary ( read_test_data ( "vc-unsupported-1.nq" ) ) ,
457
- format : Some ( RdfFormat :: NQuads ) ,
459
+ format : Some ( RdfDatasetFormat :: NQuads ) ,
458
460
} ,
459
461
) ;
460
462
@@ -502,7 +504,7 @@ _:b0 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://example.org/exam
502
504
mock_info ( "axone1072nc6egexqr2v6vpp7yxwm68plvqnkf5uemr0" , & [ ] ) ,
503
505
ExecuteMsg :: SubmitClaims {
504
506
metadata : Binary ( read_test_data ( "vc-eddsa-2020-ok.nq" ) ) ,
505
- format : Some ( RdfFormat :: NQuads ) ,
507
+ format : Some ( RdfDatasetFormat :: NQuads ) ,
506
508
} ,
507
509
) ;
508
510
0 commit comments