Implement browsing of newest apps in the object manager infrastructure
This commit is contained in:
@@ -10,6 +10,7 @@ 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');
|
||||
|
||||
/* internal function */
|
||||
function test_class($sClassName, $aTestMethods)
|
||||
@@ -25,6 +26,11 @@ 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 */
|
||||
global $test_email, $test_password;
|
||||
if(!$oUser = create_and_login_user())
|
||||
@@ -278,6 +284,7 @@ function test_object_methods()
|
||||
|
||||
$aTestClasses = array("application",
|
||||
"application_queue",
|
||||
"browse_newest_apps",
|
||||
"distribution",
|
||||
"downloadurl",
|
||||
"maintainer",
|
||||
|
||||
Reference in New Issue
Block a user