summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/tickets/protected/pages
diff options
context:
space:
mode:
authorFabio Bas <ctrlaltca@gmail.com>2013-09-30 17:42:30 +0200
committerFabio Bas <ctrlaltca@gmail.com>2013-09-30 17:42:30 +0200
commit46c942c6b38120755983286313a6187078ffe27c (patch)
treeb9bbfe971c904b7a41a8ff4c517b782928e2947a /tests/FunctionalTests/tickets/protected/pages
parent064053a81f4ce4e9cef5e8984dadfe7cca049fb9 (diff)
Fix some functionaltests of the ticket/ series
Diffstat (limited to 'tests/FunctionalTests/tickets/protected/pages')
-rwxr-xr-xtests/FunctionalTests/tickets/protected/pages/Ticket691.page2
-rwxr-xr-xtests/FunctionalTests/tickets/protected/pages/Ticket703/Logs/LogFile.txt1
-rwxr-xr-xtests/FunctionalTests/tickets/protected/pages/Ticket703/Ticket703.php3
3 files changed, 2 insertions, 4 deletions
diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket691.page b/tests/FunctionalTests/tickets/protected/pages/Ticket691.page
index b7942c8e..e5c4d8f7 100755
--- a/tests/FunctionalTests/tickets/protected/pages/Ticket691.page
+++ b/tests/FunctionalTests/tickets/protected/pages/Ticket691.page
@@ -7,7 +7,7 @@
</prop:ClientSide.OnComplete>
</com:TCallbackOptions>
<com:TActiveLabel ID="Title" Text="Cast your vote:" />
-<com:TActiveRatingList ID="List" ActiveControl.CallbackOptions="Parent.RatingOption"
+<com:TActiveRatingList ID="List" ActiveControl.CallbackOptions="Page.RatingOption"
OnCallback="list_oncallback" ActiveControl.EnableUpdate="true">
<com:TListItem Value="1" Text="One star" />
<com:TListItem Value="2" Text="Two stars" />
diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket703/Logs/LogFile.txt b/tests/FunctionalTests/tickets/protected/pages/Ticket703/Logs/LogFile.txt
index af19780d..e69de29b 100755
--- a/tests/FunctionalTests/tickets/protected/pages/Ticket703/Logs/LogFile.txt
+++ b/tests/FunctionalTests/tickets/protected/pages/Ticket703/Logs/LogFile.txt
@@ -1 +0,0 @@
-Sep 22 20:21:44 [Debug] [Tickets] Test of prado logging system
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();
}