Update outdated tests
Update tests that use tbtcToBtc after the parameter was removed
@@ -381,7 +381,6 @@ describe("VendingMachine", async function() {
testDeposit.address,
"0x1111111100000000",
redeemerOutputScript,
- owner,
{from: owner},
)
const requestInfo = await testDeposit.getRequestInfo()
@@ -410,7 +409,6 @@ describe("VendingMachine", async function() {
testDeposit.address,
"0x1111111100000000",
redeemerOutputScript,
- owner,
),
"SafeMath: subtraction overflow.",
)
@@ -442,7 +440,6 @@ describe("VendingMachine", async function() {
testDeposit.address,
"0x1111111100000000",
redeemerOutputScript,
- owner,
])
await tbtcToken.approveAndCall(
@@ -477,7 +474,6 @@ describe("VendingMachine", async function() {
testDeposit.address,
"0x1111111100000000",
redeemerOutputScript,
- owner,
])
const success = await tbtcToken.approveAndCall.call(
@@ -503,7 +499,6 @@ describe("VendingMachine", async function() {
nonexistentDeposit,
"0x1111111100000000",
redeemerOutputScript,
- owner,
])
await expectRevert(
