Skip to content

Commit

Permalink
try private node in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
deemru committed Dec 8, 2020
1 parent 36d8701 commit 7a96423
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/selftest.php
Original file line number Diff line number Diff line change
Expand Up @@ -232,8 +232,8 @@ public function finish()
require_once __DIR__ . '/private.php';

$wavesAmount = 1000000000;
$confirmations = 1;
$sleep = 10;
$confirmations = 0;
$sleep = 1;
$nodes =
[
'https://example.com',
Expand Down Expand Up @@ -272,6 +272,8 @@ public function finish()
$t->pretest( 'new tester' );
{
$wk = new WavesKit( $wkFaucet->getChainId() );
if( !empty( getenv( 'WAVESKIT_NODES' ) ) )
$wk->setNodeAddress( getenv( 'WAVESKIT_NODES' ) );
$wk->setSeed( $wk->randomSeed() );
$address = $wk->getAddress();
$balance = $wk->balance();
Expand Down

0 comments on commit 7a96423

Please sign in to comment.