Skip to content

Commit ea8c7a4

Browse files
committed
Catchable fatal error: Argument 1 passed to RunnableSelect::convertValues()
1 parent 809a34a commit ea8c7a4

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

tests/Databases/MySQLTest.php

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,17 @@
44
use Pseudo\Pdo;
55

66
class MySQLTest extends \PHPUnit_Framework_TestCase {
7+
private $errorLvl;
8+
9+
protected function setUp() {
10+
$this->errorLvl = error_reporting();
11+
error_reporting(E_ALL ^ E_STRICT);
12+
}
13+
14+
protected function tearDown() {
15+
error_reporting($this->errorLvl);
16+
}
17+
718
public function testTransactionTries1() {
819
$pdo = new Pdo();
920
$mysql = new MySQL($pdo);

0 commit comments

Comments
 (0)