Skip to content

Commit

Permalink
Removing some new by reference calls
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzo committed Jul 19, 2012
1 parent 2ccbf78 commit a7865b5
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -1034,7 +1034,7 @@ public function testPaginateOrderVirtualFieldSharedWithRealField() {
* @return void * @return void
*/ */
public function testPaginateCustomFind() { public function testPaginateCustomFind() {
$Controller =& new Controller($this->request); $Controller = new Controller($this->request);
$Controller->uses = array('PaginatorCustomPost'); $Controller->uses = array('PaginatorCustomPost');
$Controller->constructClasses(); $Controller->constructClasses();
$data = array('author_id' => 3, 'title' => 'Fourth Article', 'body' => 'Article Body, unpublished', 'published' => 'N'); $data = array('author_id' => 3, 'title' => 'Fourth Article', 'body' => 'Article Body, unpublished', 'published' => 'N');
Expand Down Expand Up @@ -1074,7 +1074,7 @@ public function testPaginateCustomFind() {
* @return void * @return void
*/ */
public function testPaginateCustomFindFieldsArray() { public function testPaginateCustomFindFieldsArray() {
$Controller =& new Controller($this->request); $Controller = new Controller($this->request);
$Controller->uses = array('PaginatorCustomPost'); $Controller->uses = array('PaginatorCustomPost');
$Controller->constructClasses(); $Controller->constructClasses();
$data = array('author_id' => 3, 'title' => 'Fourth Article', 'body' => 'Article Body, unpublished', 'published' => 'N'); $data = array('author_id' => 3, 'title' => 'Fourth Article', 'body' => 'Article Body, unpublished', 'published' => 'N');
Expand Down Expand Up @@ -1106,7 +1106,7 @@ public function testPaginateCustomFindFieldsArray() {
* @return void * @return void
*/ */
public function testPaginateCustomFindWithCustomFindKey() { public function testPaginateCustomFindWithCustomFindKey() {
$Controller =& new Controller($this->request); $Controller = new Controller($this->request);
$Controller->uses = array('PaginatorCustomPost'); $Controller->uses = array('PaginatorCustomPost');
$Controller->constructClasses(); $Controller->constructClasses();
$data = array('author_id' => 3, 'title' => 'Fourth Article', 'body' => 'Article Body, unpublished', 'published' => 'N'); $data = array('author_id' => 3, 'title' => 'Fourth Article', 'body' => 'Article Body, unpublished', 'published' => 'N');
Expand Down Expand Up @@ -1139,7 +1139,7 @@ public function testPaginateCustomFindWithCustomFindKey() {
* @return void * @return void
*/ */
public function testPaginateCustomFindGroupBy() { public function testPaginateCustomFindGroupBy() {
$Controller =& new Controller($this->request); $Controller = new Controller($this->request);
$Controller->uses = array('PaginatorCustomPost'); $Controller->uses = array('PaginatorCustomPost');
$Controller->constructClasses(); $Controller->constructClasses();
$data = array('author_id' => 2, 'title' => 'Fourth Article', 'body' => 'Article Body, unpublished', 'published' => 'N'); $data = array('author_id' => 2, 'title' => 'Fourth Article', 'body' => 'Article Body, unpublished', 'published' => 'N');
Expand Down Expand Up @@ -1204,7 +1204,7 @@ public function testPaginateCustomFindGroupBy() {
* @return void * @return void
*/ */
public function testPaginateCustomFindCount() { public function testPaginateCustomFindCount() {
$Controller =& new Controller($this->request); $Controller = new Controller($this->request);
$Controller->uses = array('PaginatorCustomPost'); $Controller->uses = array('PaginatorCustomPost');
$Controller->constructClasses(); $Controller->constructClasses();
$data = array('author_id' => 2, 'title' => 'Fourth Article', 'body' => 'Article Body, unpublished', 'published' => 'N'); $data = array('author_id' => 2, 'title' => 'Fourth Article', 'body' => 'Article Body, unpublished', 'published' => 'N');
Expand Down

0 comments on commit a7865b5

Please sign in to comment.