Skip to content

Commit b38aa66

Browse files
committed
Remove stack
1 parent 5339475 commit b38aa66

File tree

2 files changed

+35
-36
lines changed

2 files changed

+35
-36
lines changed

composer.lock

Lines changed: 34 additions & 34 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/e2e/Adapter/PoolTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
use Utopia\Database\Exception\Duplicate;
1515
use Utopia\Database\Exception\Limit;
1616
use Utopia\Database\PDO;
17-
use Utopia\Pools\Adapter\Stack;
1817
use Utopia\Pools\Pool as UtopiaPool;
1918

2019
class PoolTest extends Base
@@ -44,7 +43,7 @@ public function getDatabase(): Database
4443
$redis->flushAll();
4544
$cache = new Cache(new RedisAdapter($redis));
4645

47-
$pool = new UtopiaPool(new Stack(), 'mysql', 10, function () {
46+
$pool = new UtopiaPool('mysql', 10, function () {
4847
$dbHost = 'mysql';
4948
$dbPort = '3307';
5049
$dbUser = 'root';

0 commit comments

Comments
 (0)