Changeset 346


Ignore:
Timestamp:
04/08/10 11:54:06 (9 years ago)
Author:
sander
Message:

Fix merge bug in addJobs that caused only the last testsuite to be updated

Location:
trunk/server/www/app
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/server/www/app/models/testsuite.php

    r341 r346  
    291291                $suites = $this->find('all', $options); 
    292292                foreach ($suites as $suite) { 
    293                         $requests = Set::merge( 
     293                        $requests = array_merge( 
    294294                                $requests, 
    295295                                $this->Gallery->getRequests($suite['Testsuite']['gallery_id'], $contain) 
  • trunk/server/www/app/vendors/shells/suites.php

    r296 r346  
    4444 
    4545        /** 
     46         * Update the test suites 
     47         */ 
     48        public function addJobs() 
     49        { 
     50                $Testsuite = ClassRegistry::init('Testsuite'); 
     51                $Testsuite->addJobs(); 
     52        } 
     53 
     54        /** 
    4655         * Print shell help 
    4756         */ 
Note: See TracChangeset for help on using the changeset viewer.