@@ -197,7 +197,7 @@ func TestMintNFTs(t *testing.T) {
197197 result := executeScriptAndCheck (t , b , templates .GenerateGetPlayMetadataFieldScript (env ), [][]byte {jsoncdc .MustEncode (cadence .UInt32 (1 )), jsoncdc .MustEncode (cadence .String ("FullName" ))})
198198 assert .Equal (t , CadenceString ("Lebron" ), result )
199199
200- tb .UpdateTagline (t , 1 , "lorem ipsum" )
200+ tb .UpdateTagline (t , []cadence. KeyValuePair {{ Key : cadence . UInt32 ( 1 ), Value : CadenceString ( "lorem ipsum" )}} )
201201 result = executeScriptAndCheck (t , b , templates .GenerateGetPlayMetadataFieldScript (env ), [][]byte {jsoncdc .MustEncode (cadence .UInt32 (1 )), jsoncdc .MustEncode (cadence .String ("tagline" ))})
202202 assert .Equal (t , CadenceString ("lorem ipsum" ), result )
203203 })
@@ -617,11 +617,10 @@ func (b *topshotTestBlockchain) CreatePlay(t *testing.T, metadata []cadence.KeyV
617617 )
618618}
619619
620- func (b * topshotTestBlockchain ) UpdateTagline (t * testing.T , id uint32 , tagline string ) {
620+ func (b * topshotTestBlockchain ) UpdateTagline (t * testing.T , plays []cadence. KeyValuePair ) {
621621 tx := createTxWithTemplateAndAuthorizer (b .Blockchain , templates .GenerateUpdateTaglineScript (b .env ), b .topshotAdminAddr )
622- tag := CadenceString (tagline )
623- _ = tx .AddArgument (cadence .NewUInt32 (id ))
624- _ = tx .AddArgument (tag )
622+ tags := cadence .NewDictionary (plays )
623+ _ = tx .AddArgument (tags )
625624
626625 signAndSubmit (
627626 t , b .Blockchain , tx ,
0 commit comments