summaryrefslogtreecommitdiffstats
path: root/pts-core/options/remove_installed_test.php
diff options
context:
space:
mode:
Diffstat (limited to 'pts-core/options/remove_installed_test.php')
-rw-r--r--pts-core/options/remove_installed_test.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/pts-core/options/remove_installed_test.php b/pts-core/options/remove_installed_test.php
index 8dfe8e0..3841b4e 100644
--- a/pts-core/options/remove_installed_test.php
+++ b/pts-core/options/remove_installed_test.php
@@ -25,7 +25,7 @@ class remove_installed_test implements pts_option_interface
public static function run($r)
{
$identifier = $r[0];
- if(is_file(TEST_ENV_DIR . $identifier . "/pts-install.xml"))
+ if(pts_test_installed($identifier))
{
if(pts_bool_question("Are you sure you wish to remove the test " . $identifier . " (y/N)?", false))
{