@@ -636,7 +636,7 @@ func TestEventLoopReceiveReceipt(t *testing.T) {
636636
637637 tm := & coremocks.OperationCallbacks {}
638638 c .SetOperationHandler ("ns1" , tm )
639- tm .On ("OperationUpdate" , mock .MatchedBy (func (update * core.OperationUpdate ) bool {
639+ tm .On ("OperationUpdate" , mock .MatchedBy (func (update * core.OperationUpdateAsync ) bool {
640640 return update .NamespacedOpID == "ns1:5678" &&
641641 update .Status == core .OpStatusSucceeded &&
642642 update .BlockchainTXID == "txHash" &&
@@ -869,7 +869,7 @@ func TestGetTransactionStatusSuccess(t *testing.T) {
869869
870870 tm := & coremocks.OperationCallbacks {}
871871 c .SetOperationHandler ("ns1" , tm )
872- tm .On ("OperationUpdate" , mock .MatchedBy (func (update * core.OperationUpdate ) bool {
872+ tm .On ("OperationUpdate" , mock .MatchedBy (func (update * core.OperationUpdateAsync ) bool {
873873 return update .NamespacedOpID == "ns1:9ffc50ff-6bfe-4502-adc7-93aea54cc059" &&
874874 update .Status == core .OpStatusSucceeded &&
875875 update .BlockchainTXID == "txHash" &&
@@ -906,7 +906,7 @@ func TestGetTransactionStatusFailure(t *testing.T) {
906906
907907 tm := & coremocks.OperationCallbacks {}
908908 c .SetOperationHandler ("ns1" , tm )
909- tm .On ("OperationUpdate" , mock .MatchedBy (func (update * core.OperationUpdate ) bool {
909+ tm .On ("OperationUpdate" , mock .MatchedBy (func (update * core.OperationUpdateAsync ) bool {
910910 return update .NamespacedOpID == "ns1:9ffc50ff-6bfe-4502-adc7-93aea54cc059" &&
911911 update .Status == core .OpStatusFailed &&
912912 update .ErrorMessage == "Something went wrong" &&
0 commit comments