Skip to content

Commit fd15059

Browse files
author
Babichev Maxim
committed
add unit-case
1 parent c41b3fa commit fd15059

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

tests/SingletonTest.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
use Bavix\Wallet\Objects\EmptyLock;
99
use Bavix\Wallet\Objects\Operation;
1010
use Bavix\Wallet\Services\CommonService;
11+
use Bavix\Wallet\Services\DbService;
1112
use Bavix\Wallet\Services\ExchangeService;
1213
use Bavix\Wallet\Services\LockService;
1314
use Bavix\Wallet\Services\ProxyService;
@@ -124,6 +125,14 @@ public function testWalletService(): void
124125
$this->assertEquals($this->getRefId(WalletService::class), $this->getRefId(WalletService::class));
125126
}
126127

128+
/**
129+
* @return void
130+
*/
131+
public function testDbService(): void
132+
{
133+
$this->assertEquals($this->getRefId(DbService::class), $this->getRefId(DbService::class));
134+
}
135+
127136
/**
128137
* @return void
129138
*/

0 commit comments

Comments
 (0)