Skip to content

Commit

Permalink
Fix already existing account test
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-senechal committed Feb 12, 2024
1 parent f9ab8a3 commit 78c0a2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unit-tests/tests/generate-new-account.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ describe('Generate new account', () => {

// Create a new account with the same name and expect an error
await massaStationProvider.generateNewAccount(accountName).catch((err) => {
expect(err).toEqual('This account name already exists');
expect(err).toEqual(`adding account in GenerateAccount: this account nickname already exists: ${accountName}`);
});
});
});

0 comments on commit 78c0a2a

Please sign in to comment.