@@ -306,15 +306,11 @@ await describeMspNet(
306306 // Also verify through SDK / MSP backend endpoints
307307 const listedBuckets = await mspClient . buckets . listBuckets ( ) ;
308308 assert (
309- listedBuckets . some ( ( b ) => `0x ${ b . bucketId } ` === bucketId ) ,
309+ listedBuckets . some ( ( b ) => b . bucketId === bucketId ) ,
310310 "MSP listBuckets should include the created bucket"
311311 ) ;
312312 const sdkBucket = await mspClient . buckets . getBucket ( bucketId ) ;
313- strictEqual (
314- `0x${ sdkBucket . bucketId } ` ,
315- bucketId ,
316- "MSP getBucket should return the created bucket"
317- ) ;
313+ strictEqual ( sdkBucket . bucketId , bucketId , "MSP getBucket should return the created bucket" ) ;
318314 } ) ;
319315
320316 it ( "Should issue a storage request for Adolphus.jpg using the SDK's StorageHubClient" , async ( ) => {
@@ -453,8 +449,8 @@ await describeMspNet(
453449 "file tree should not be empty"
454450 ) ;
455451 const fileInfo = await mspClient . files . getFileInfo ( bucketId , fileKey . toHex ( ) ) ;
456- strictEqual ( `0x ${ fileInfo . bucketId } ` , bucketId , "BucketId should match" ) ;
457- strictEqual ( `0x ${ fileInfo . fileKey } ` , fileKey . toHex ( ) , "FileKey should match" ) ;
452+ strictEqual ( fileInfo . bucketId , bucketId , "BucketId should match" ) ;
453+ strictEqual ( fileInfo . fileKey , fileKey . toHex ( ) , "FileKey should match" ) ;
458454 } ) ;
459455
460456 it ( "Should fetch payment streams using the SDK's MspClient" , async ( ) => {
0 commit comments