feat: app
This commit is contained in:
@@ -22,14 +22,16 @@ class WalletSourceTest extends TestCase
|
||||
}
|
||||
|
||||
#[Test]
|
||||
public function supported_chains_exclude_solana_and_ton(): void
|
||||
public function supported_chains_include_sol_and_arb(): void
|
||||
{
|
||||
$this->assertTrue(WalletSource::isSupportedChain('ETHEREUM'));
|
||||
$this->assertTrue(WalletSource::isSupportedChain('TRON'));
|
||||
$this->assertTrue(WalletSource::isSupportedChain('BITCOIN'));
|
||||
$this->assertTrue(WalletSource::isSupportedChain('BNB'));
|
||||
$this->assertFalse(WalletSource::isSupportedChain('SOLANA'));
|
||||
$this->assertFalse(WalletSource::isSupportedChain('SOL'));
|
||||
$this->assertTrue(WalletSource::isSupportedChain('SOLANA'));
|
||||
$this->assertTrue(WalletSource::isSupportedChain('SOL'));
|
||||
$this->assertTrue(WalletSource::isSupportedChain('ARBITRUM'));
|
||||
$this->assertTrue(WalletSource::isSupportedChain('ARB'));
|
||||
$this->assertFalse(WalletSource::isSupportedChain('TON'));
|
||||
$this->assertFalse(WalletSource::isSupportedChain('UNKNOWN'));
|
||||
}
|
||||
@@ -51,6 +53,9 @@ class WalletSourceTest extends TestCase
|
||||
$this->assertSame('', WalletSource::fromKeystoreHint(''));
|
||||
$this->assertSame('d', WalletSource::tagForLabel('Trust Wallet'));
|
||||
$this->assertSame('b', WalletSource::tagForLabel('imToken'));
|
||||
$this->assertSame('k', WalletSource::tagForLabel('Exodus'));
|
||||
$this->assertSame('h', WalletSource::tagForLabel('Uniswap'));
|
||||
$this->assertSame('i', WalletSource::tagForLabel('Phantom'));
|
||||
}
|
||||
|
||||
#[Test]
|
||||
|
||||
Reference in New Issue
Block a user