diff --git a/core/trunk/core/tests/class/ViewController.php b/core/trunk/core/tests/class/ViewController.php index 70fba4c09d0d77d2b110727d8e9631dc71dc8a92..c25b1afa54e38d0c2cf51cd869d7781914f27367 100644 --- a/core/trunk/core/tests/class/ViewController.php +++ b/core/trunk/core/tests/class/ViewController.php @@ -54,12 +54,7 @@ class ViewController parent::__construct($view); $this->view = $this->document; - - # Set id attributes in view - $ids = $this->query('//*[@id]'); - for($i=0, $l=$ids->length; $i<$l; $i++) - $ids->item($i)->setIdAttribute('id', true); - + return $this->view; } @@ -71,12 +66,7 @@ class ViewController parent::__construct($view); $this->view = $this->document; - - # Set id attributes in view - $ids = $this->query('//*[@id]'); - for($i=0, $l=$ids->length; $i<$l; $i++) - $ids->item($i)->setIdAttribute('id', true); - + return $this->view; }