Application::delete() should retrieve the applications versions immediately prior to deleting to ensure that an application object created prior to its child versions doesn't leave orphaned versions. Add unit test for Application::delete() to test for the offending behavior.
20 lines
396 B
PHP
20 lines
396 B
PHP
<?php
|
|
|
|
/* Main test function. To add new tests include_once() */
|
|
/* your test file here */
|
|
|
|
/* TODO: test the rest of the classes we have */
|
|
|
|
error_reporting(E_ALL ^ E_NOTICE);
|
|
|
|
include_once("test_user.php");
|
|
echo "\n";
|
|
include_once("test_query.php");
|
|
echo "\n";
|
|
include_once("test_image.php");
|
|
echo "\n";
|
|
include_once("test_application.php");
|
|
echo "\n";
|
|
include_once("test_error_log.php");
|
|
?>
|