mirror of
https://github.com/e107inc/e107.git
synced 2025-08-10 00:27:45 +02:00
Preparation for merge with e107 repository
Moved all test files to e107_tests subdirectory
This commit is contained in:
18
e107_tests/lib/deployers/LocalDeployer.php
Normal file
18
e107_tests/lib/deployers/LocalDeployer.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
class LocalDeployer extends NoopDeployer
|
||||
{
|
||||
public function unlinkAppFile($relative_path)
|
||||
{
|
||||
self::println("Deleting file \"$relative_path\" from deployed test location…");
|
||||
if (file_exists(APP_PATH."/$relative_path"))
|
||||
{
|
||||
unlink(APP_PATH."/$relative_path");
|
||||
self::println("Deleted file \"$relative_path\" from deployed test location");
|
||||
}
|
||||
else
|
||||
{
|
||||
self::println("No such file to delete: \"$relative_path\"");
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user