Commit ded4a85d authored by Marco Pivetta's avatar Marco Pivetta

#2494 replacing string with class reference

parent 12262341
...@@ -28,7 +28,7 @@ class StatementTest extends DbalFunctionalTestCase ...@@ -28,7 +28,7 @@ class StatementTest extends DbalFunctionalTestCase
// it's impossible to prepare the statement without bound variables for SQL Server, // it's impossible to prepare the statement without bound variables for SQL Server,
// so the preparation happens before the first execution when variables are already in place // so the preparation happens before the first execution when variables are already in place
$this->expectException('Doctrine\\DBAL\\Driver\\SQLSrv\\SQLSrvException'); $this->expectException(SQLSrvException::class);
$stmt->execute(); $stmt->execute();
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment