Skip to content

Commit

Permalink
Fixed 'TestRegularAvailableBalanceSwitchOnV5ToV6'.
Browse files Browse the repository at this point in the history
  • Loading branch information
nickeskov committed Aug 16, 2024
1 parent 1b3b911 commit 04c3f4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/ride/tree_evaluation_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5326,7 +5326,7 @@ func TestRegularAvailableBalanceSwitchOnV5ToV6(t *testing.T) {
env = env.withRideV6Activated().withWrappedState()
res, err = CallFunction(env.toEnv(), tree1, proto.NewFunctionCall("call", proto.Arguments{}))
assert.Nil(t, res)
require.EqualError(t, err, "invoke: failed to apply attached payments: not enough money in the DApp, balance of asset WAVES on address 3MzDtgL5yw73C2xVLnLJCrT5gCL4357a4sz after payments application is -1000000000")
require.EqualError(t, err, "invoke: failed to apply attached payments: not enough money in the DApp, balance of asset WAVES on address 3MzDtgL5yw73C2xVLnLJCrT5gCL4357a4sz after payments application is -1000000000: negative balance after payments application") //nolint:lll
}

func TestInvokePaymentsCheckBeforeAndAfterInvokeScriptTxActivation(t *testing.T) {
Expand Down

0 comments on commit 04c3f4e

Please sign in to comment.