Commit a50e38c4 authored by Rob Apodaca's avatar Rob Apodaca

pass $sql var to statement constructor in StatementTest

parent a8f6984f
......@@ -63,7 +63,7 @@ class StatementTest extends \Doctrine\Tests\DbalTestCase
->method('getSQLLogger')
->will($this->returnValue($logger));
$statement = new Statement('', $this->conn);
$statement = new Statement($sql, $this->conn);
$statement->bindValue($name, $var, $type);
$statement->execute();
}
......@@ -85,7 +85,7 @@ class StatementTest extends \Doctrine\Tests\DbalTestCase
->method('getSQLLogger')
->will($this->returnValue($logger));
$statement = new Statement('', $this->conn);
$statement = new Statement($sql, $this->conn);
$statement->execute($values);
}
}
\ No newline at end of file
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