We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 809a34a commit ea8c7a4Copy full SHA for ea8c7a4
tests/Databases/MySQLTest.php
@@ -4,6 +4,17 @@
4
use Pseudo\Pdo;
5
6
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
18
public function testTransactionTries1() {
19
$pdo = new Pdo();
20
$mysql = new MySQL($pdo);
0 commit comments