diff options
author | Fabio Bas <ctrlaltca@gmail.com> | 2013-09-30 17:42:30 +0200 |
---|---|---|
committer | Fabio Bas <ctrlaltca@gmail.com> | 2013-09-30 17:42:30 +0200 |
commit | 46c942c6b38120755983286313a6187078ffe27c (patch) | |
tree | b9bbfe971c904b7a41a8ff4c517b782928e2947a /tests/FunctionalTests/tickets/protected/pages/Ticket703/Ticket703.php | |
parent | 064053a81f4ce4e9cef5e8984dadfe7cca049fb9 (diff) |
Fix some functionaltests of the ticket/ series
Diffstat (limited to 'tests/FunctionalTests/tickets/protected/pages/Ticket703/Ticket703.php')
-rwxr-xr-x | tests/FunctionalTests/tickets/protected/pages/Ticket703/Ticket703.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket703/Ticket703.php b/tests/FunctionalTests/tickets/protected/pages/Ticket703/Ticket703.php index 54240798..adf71837 100755 --- a/tests/FunctionalTests/tickets/protected/pages/Ticket703/Ticket703.php +++ b/tests/FunctionalTests/tickets/protected/pages/Ticket703/Ticket703.php @@ -18,8 +18,7 @@ class Ticket703 extends TPage { public function clearLog ($sender, $param) { $file=prado::getPathOfNameSpace('Ticket703.Logs.LogFile', '.txt'); - $f=fopen($file,"w"); - fclose($f); + file_put_contents($file, ''); $this->refreshLog(); } |