Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
irina-pereiaslavskaia committed Jan 18, 2024
1 parent 9984c17 commit 2a25914
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions itests/smoke_tx_api_positive_internal_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ func (suite *SmokeTxApiPositiveSuite) TestUpdateAssetInfoTxApiReissuableTokenSmo
update_asset_info.BroadcastUpdateAssetInfoTxAndGetDiffBalances(
&suite.BaseSuite, td, v, true)
errMsg := caseName + "Broadcast Update Asset Info tx: " + tx.TxID.String()
assetDetails := utl.GetAssetInfoGrpc(&suite.BaseSuite, td.assetID)
assetDetails := utl.GetAssetInfoGrpc(&suite.BaseSuite, td.AssetID)
update_asset_info.PositiveAPIChecks(suite.T(), tx, td, actualDiffBalanceInWaves, actualDiffBalanceInAsset,
assetDetails, errMsg)
})
Expand All @@ -288,7 +288,7 @@ func (suite *SmokeTxApiPositiveSuite) TestUpdateAssetInfoTxApiNFTSmokePositive()
update_asset_info.BroadcastUpdateAssetInfoTxAndGetDiffBalances(
&suite.BaseSuite, td, v, true)
errMsg := caseName + "Broadcast Update Asset Info tx: " + tx.TxID.String()
assetDetails := utl.GetAssetInfoGrpc(&suite.BaseSuite, td.assetID)
assetDetails := utl.GetAssetInfoGrpc(&suite.BaseSuite, td.AssetID)
update_asset_info.PositiveAPIChecks(suite.T(), tx, td, actualDiffBalanceInWaves, actualDiffBalanceInAsset,
assetDetails, errMsg)
})
Expand All @@ -309,7 +309,7 @@ func (suite *SmokeTxApiPositiveSuite) TestUpdateAssetInfoTxApiSmartAssetSmokePos
update_asset_info.BroadcastUpdateAssetInfoTxAndGetDiffBalances(
&suite.BaseSuite, td, v, true)
errMsg := caseName + "Broadcast Update Asset Info tx: " + tx.TxID.String()
assetDetails := utl.GetAssetInfoGrpc(&suite.BaseSuite, td.assetID)
assetDetails := utl.GetAssetInfoGrpc(&suite.BaseSuite, td.AssetID)
update_asset_info.PositiveAPIChecks(suite.T(), tx, td, actualDiffBalanceInWaves, actualDiffBalanceInAsset,
assetDetails, errMsg)
})
Expand Down
12 changes: 6 additions & 6 deletions itests/update_asset_info_api_internal_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ func (suite *UpdateAssetInfoTxApiSuite) Test_UpdateAssetInfoTxApiReissuableToken
&suite.BaseSuite, td, v, true)
errMsg := caseName + "Broadcast Update Asset Info tx: " + tx.TxID.String()
assetDetails := utl.GetAssetInfoGrpc(&suite.BaseSuite, td.AssetID)
update_asset_info.PositiveAPIChecks(suite.T(), tx, td, actualDiffBalanceInWaves, actualDiffBalanceInAsset,
assetDetails, errMsg)
update_asset_info.PositiveAPIChecks(suite.T(), tx, td, actualDiffBalanceInWaves,
actualDiffBalanceInAsset, assetDetails, errMsg)
})
}
}
Expand All @@ -57,8 +57,8 @@ func (suite *UpdateAssetInfoTxApiSuite) Test_UpdateAssetInfoTxApiNFTPositive() {
&suite.BaseSuite, td, v, true)
errMsg := caseName + "Broadcast Update Asset Info tx: " + tx.TxID.String()
assetDetails := utl.GetAssetInfoGrpc(&suite.BaseSuite, td.AssetID)
update_asset_info.PositiveAPIChecks(suite.T(), tx, td, actualDiffBalanceInWaves, actualDiffBalanceInAsset,
assetDetails, errMsg)
update_asset_info.PositiveAPIChecks(suite.T(), tx, td, actualDiffBalanceInWaves,
actualDiffBalanceInAsset, assetDetails, errMsg)
})
}
}
Expand All @@ -80,8 +80,8 @@ func (suite *UpdateAssetInfoTxApiSuite) Test_UpdateAssetInfoTxApiSmartAssetPosit
&suite.BaseSuite, td, v, true)
errMsg := caseName + "Broadcast Update Asset Info tx: " + tx.TxID.String()
assetDetails := utl.GetAssetInfoGrpc(&suite.BaseSuite, td.AssetID)
update_asset_info.PositiveAPIChecks(suite.T(), tx, td, actualDiffBalanceInWaves, actualDiffBalanceInAsset,
assetDetails, errMsg)
update_asset_info.PositiveAPIChecks(suite.T(), tx, td, actualDiffBalanceInWaves,
actualDiffBalanceInAsset, assetDetails, errMsg)
})
}
}
Expand Down

0 comments on commit 2a25914

Please sign in to comment.