Permalink
Browse files

Update array() to [].

  • Loading branch information...
markstory committed May 26, 2013
1 parent 6d1461c commit c802819718769c17e9c4ba78977529baf85a9e95
@@ -525,7 +525,7 @@ public function testColumnSqlPrimaryKey() {
*/
public function testCreateSql() {
$driver = $this->_getMockedDriver();
$connection = $this->getMock('Cake\Database\Connection', array(), array(), '', false);
$connection = $this->getMock('Cake\Database\Connection', [], [], '', false);
$connection->expects($this->any())->method('driver')
->will($this->returnValue($driver));
@@ -566,7 +566,7 @@ public function testCreateSql() {
*/
public function testDropSql() {
$driver = $this->_getMockedDriver();
$connection = $this->getMock('Cake\Database\Connection', array(), array(), '', false);
$connection = $this->getMock('Cake\Database\Connection', [], [], '', false);
$connection->expects($this->any())->method('driver')
->will($this->returnValue($driver));
@@ -583,7 +583,7 @@ public function testDropSql() {
*/
public function testTruncateSql() {
$driver = $this->_getMockedDriver();
$connection = $this->getMock('Cake\Database\Connection', array(), array(), '', false);
$connection = $this->getMock('Cake\Database\Connection', [], [], '', false);
$connection->expects($this->any())->method('driver')
->will($this->returnValue($driver));
@@ -498,7 +498,7 @@ public function testConstraintSql($name, $data, $expected) {
*/
public function testCreateSql() {
$driver = $this->_getMockedDriver();
$connection = $this->getMock('Cake\Database\Connection', array(), array(), '', false);
$connection = $this->getMock('Cake\Database\Connection', [], [], '', false);
$connection->expects($this->any())->method('driver')
->will($this->returnValue($driver));
@@ -552,7 +552,7 @@ public function testCreateSql() {
*/
public function testDropSql() {
$driver = $this->_getMockedDriver();
$connection = $this->getMock('Cake\Database\Connection', array(), array(), '', false);
$connection = $this->getMock('Cake\Database\Connection', [], [], '', false);
$connection->expects($this->any())->method('driver')
->will($this->returnValue($driver));
@@ -569,7 +569,7 @@ public function testDropSql() {
*/
public function testTruncateSql() {
$driver = $this->_getMockedDriver();
$connection = $this->getMock('Cake\Database\Connection', array(), array(), '', false);
$connection = $this->getMock('Cake\Database\Connection', [], [], '', false);
$connection->expects($this->any())->method('driver')
->will($this->returnValue($driver));
@@ -481,7 +481,7 @@ public function testIndexSql($name, $data, $expected) {
*/
public function testCreateSql() {
$driver = $this->_getMockedDriver();
$connection = $this->getMock('Cake\Database\Connection', array(), array(), '', false);
$connection = $this->getMock('Cake\Database\Connection', [], [], '', false);
$connection->expects($this->any())->method('driver')
->will($this->returnValue($driver));
@@ -529,7 +529,7 @@ public function testCreateSql() {
*/
public function testDropSql() {
$driver = $this->_getMockedDriver();
$connection = $this->getMock('Cake\Database\Connection', array(), array(), '', false);
$connection = $this->getMock('Cake\Database\Connection', [], [], '', false);
$connection->expects($this->any())->method('driver')
->will($this->returnValue($driver));
@@ -546,7 +546,7 @@ public function testDropSql() {
*/
public function testTruncateSql() {
$driver = $this->_getMockedDriver();
$connection = $this->getMock('Cake\Database\Connection', array(), array(), '', false);
$connection = $this->getMock('Cake\Database\Connection', [], [], '', false);
$connection->expects($this->any())->method('driver')
->will($this->returnValue($driver));

0 comments on commit c802819

Please sign in to comment.