Skip to content

Commit 22ae77e

Browse files
authored
Fix getTimeAutomationFees test (#71)
1 parent afe220a commit 22ae77e

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/functional/rpc.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ beforeEach(() => initialize());
1515
afterEach(() => polkadotApi.disconnect());
1616

1717
test('scheduler.getTimeAutomationFees works', async () => {
18-
const resultCodec = await (polkadotApi.rpc as any).automationTime.getTimeAutomationFees(AutomationAction.Notify, 3)
18+
const resultCodec = await (polkadotApi.rpc as any).automationTime.getTimeAutomationFees(AutomationAction.AutoCompoundDelegatedStake, 3)
1919
const fee = resultCodec.toJSON();
2020

2121
expect(fee > 0).toEqual(true);

test/utils/constants.ts

-2
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@ export const chainConfigs = {
2525
}
2626

2727
export enum AutomationAction {
28-
Notify = 'Notify',
29-
NativeTransfer = 'NativeTransfer',
3028
XCMP = 'XCMP',
3129
AutoCompoundDelegatedStake = 'AutoCompoundDelegatedStake',
3230
}

0 commit comments

Comments
 (0)