Skip to content

Commit 995df16

Browse files
author
Ben Batschelet
committed
Set fetch mode on DB manager rather than connection
1 parent 26bbbe3 commit 995df16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/lib/bootstrap.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@
2323
$dbManager->setAsGlobal();
2424
$dbManager->bootEloquent();
2525

26-
$dbManager->connection()->setFetchMode(\PDO::FETCH_NUM);
26+
$dbManager->setFetchMode(PDO::FETCH_NUM);
2727

2828
require_once 'migration.php';

0 commit comments

Comments
 (0)