Skip to content

Commit ec762b7

Browse files
committed
Fix tests for name change
1 parent 270f859 commit ec762b7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/model/transaction/Transaction.spec.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ describe('Transaction', () => {
111111
new TransactionInfo(UInt64.fromUint(100), 1, 'id_hash', 'hash', 'hash'),
112112
);
113113
expect(() => {
114-
transaction.replyGiven(Deadline.create());
114+
transaction.reapplyGiven(Deadline.create());
115115
}).to.throws('an Announced transaction can\'t be modified');
116116
});
117117
it('should return a new transaction', () => {
@@ -124,7 +124,7 @@ describe('Transaction', () => {
124124
undefined,
125125
);
126126

127-
const newTransaction = transaction.replyGiven(Deadline.create());
127+
const newTransaction = transaction.reapplyGiven(Deadline.create());
128128
expect(newTransaction).to.not.equal(transaction);
129129
});
130130
it('should overide deadline properly', () => {
@@ -138,7 +138,7 @@ describe('Transaction', () => {
138138
);
139139

140140
const newDeadline = Deadline.create(3);
141-
const newTransaction = transaction.replyGiven(newDeadline);
141+
const newTransaction = transaction.reapplyGiven(newDeadline);
142142
const equal = newTransaction.deadline.value.equals(transaction.deadline.value);
143143
const after = newTransaction.deadline.value.isAfter(transaction.deadline.value);
144144
expect(newTransaction.deadline).to.be.equal(newDeadline);

0 commit comments

Comments
 (0)