ChangeSet ID: 26601 CVSROOT: /opt/cvs-commit Module name: appdb Changes by: wineowner@winehq.org 2006/07/17 15:41:19
Modified files: unit_test : test_user.php
Log message: Chris Morgan cmorgan@alum.wpi.edu Remove the application created to perform the unit test so we don't 'leak' dummy applications
Patch: http://cvs.winehq.org/patch.py?id=26601
Old revision New revision Changes Path 1.5 1.6 +4 -0 appdb/unit_test/test_user.php
Index: appdb/unit_test/test_user.php diff -u -p appdb/unit_test/test_user.php:1.5 appdb/unit_test/test_user.php:1.6 --- appdb/unit_test/test_user.php:1.5 17 Jul 2006 20:41:19 -0000 +++ appdb/unit_test/test_user.php 17 Jul 2006 20:41:19 -0000 @@ -463,6 +463,10 @@ function test_user_getAppsMaintained() /* remove maintainership for this user */ $oUser->deleteMaintainer($iAppId);
+ /* remove this application */ + $oApp = new Application($iAppId); + $oApp->delete(); + return true; }