feat(mosaic): mechanically authorize lease promotion
This commit is contained in:
@@ -152,7 +152,11 @@ describe('mosaic promote', () => {
|
||||
};
|
||||
const output = vi.spyOn(console, 'log').mockImplementation(() => {});
|
||||
const program = new Command().exitOverride();
|
||||
registerPromoteCommand(program, { store, transport: promotionTransport });
|
||||
registerPromoteCommand(program, {
|
||||
mintAuthorization: async () => {},
|
||||
store,
|
||||
transport: promotionTransport,
|
||||
});
|
||||
|
||||
try {
|
||||
await program.parseAsync(['node', 'mosaic', 'promote', 'claude-seat']);
|
||||
@@ -179,7 +183,11 @@ describe('mosaic promote', () => {
|
||||
};
|
||||
const output = vi.spyOn(console, 'log').mockImplementation(() => {});
|
||||
const program = new Command().exitOverride();
|
||||
registerPromoteCommand(program, { store, transport: promotionTransport });
|
||||
registerPromoteCommand(program, {
|
||||
mintAuthorization: async () => {},
|
||||
store,
|
||||
transport: promotionTransport,
|
||||
});
|
||||
|
||||
try {
|
||||
process.exitCode = undefined;
|
||||
|
||||
Reference in New Issue
Block a user