Replace browse_newest_apps class using sorting
This commit is contained in:
committed by
Chris Morgan
parent
7643ac8229
commit
7e66843cc4
@@ -10,7 +10,6 @@ require_once(BASE.'include/maintainer.php');
|
||||
require_once(BASE.'include/testData_queue.php');
|
||||
require_once(BASE.'include/version_queue.php');
|
||||
require_once(BASE.'include/application_queue.php');
|
||||
require_once(BASE.'include/browse_newest_apps.php');
|
||||
require_once(BASE.'include/monitor.php');
|
||||
require_once(BASE.'include/bugs.php');
|
||||
|
||||
@@ -28,11 +27,6 @@ function test_class($sClassName, $aTestMethods)
|
||||
return false;
|
||||
}
|
||||
|
||||
// TODO: work around for 'browse_newest_apps' class
|
||||
// since we can't create a new database object of browse_newest_apps
|
||||
if($sClassName == "browse_newest_apps")
|
||||
return true;
|
||||
|
||||
/* Set up test user */
|
||||
$sTestEmail = __FUNCTION__."@localhost.com";
|
||||
$sTestPassword = "password";
|
||||
@@ -275,7 +269,6 @@ function test_object_methods()
|
||||
|
||||
$aTestClasses = array("application",
|
||||
"application_queue",
|
||||
"browse_newest_apps",
|
||||
"bug",
|
||||
"distribution",
|
||||
"downloadurl",
|
||||
|
||||
Reference in New Issue
Block a user