Skip to content

Commit 0648c84

Browse files
committed
remove mnemonic from sharedSetup
1 parent 400e5e4 commit 0648c84

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/tfchain_client/test/nodes_test.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import 'dart:io';
2+
13
import 'package:test/test.dart';
24
import 'package:tfchain_client/generated/dev/types/tfchain_support/types/node.dart';
35
import 'package:tfchain_client/tfchain_client.dart';
@@ -68,7 +70,6 @@ void main() {
6870
}
6971
});
7072

71-
// TODO:
7273
tearDownAll(() async {
7374
await client.disconnect();
7475
});

packages/tfchain_client/test/shared_setup.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,7 @@ String generateRandomString(int length) {
4848

4949
void sharedSetup() {
5050
setUp(() {
51-
mnemonic = Platform.environment['MNEMONIC'] ??
52-
"secret add bag cluster deposit beach illness letter crouch position rain arctic";
51+
mnemonic = Platform.environment['MNEMONIC']!;
5352
url = Platform.environment['URL'] ?? 'wss://tfchain.dev.grid.tf/ws';
5453
type = Platform.environment['KEYPAIR_TYPE'] ?? 'sr25519';
5554

0 commit comments

Comments
 (0)