summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/protected
diff options
context:
space:
mode:
Diffstat (limited to 'tests/FunctionalTests/protected')
-rw-r--r--tests/FunctionalTests/protected/application.xml2
-rw-r--r--tests/FunctionalTests/protected/pages/Validation/RequiredFieldValidator.php5
2 files changed, 5 insertions, 2 deletions
diff --git a/tests/FunctionalTests/protected/application.xml b/tests/FunctionalTests/protected/application.xml
index 3cb6cfd2..ca946653 100644
--- a/tests/FunctionalTests/protected/application.xml
+++ b/tests/FunctionalTests/protected/application.xml
@@ -13,7 +13,7 @@
</module>
<module id="logger" class="System.Log.TLogRouter">
<route class="TFileLogRoute" />
- <route class="TBrowserLogRoute" />
+ <route class="TBrowserLogRoute" Categories="System.Web.UI.TPage,Uncategorized" />
</module>
</modules>
</application> \ No newline at end of file
diff --git a/tests/FunctionalTests/protected/pages/Validation/RequiredFieldValidator.php b/tests/FunctionalTests/protected/pages/Validation/RequiredFieldValidator.php
index 3456dd40..995b3df0 100644
--- a/tests/FunctionalTests/protected/pages/Validation/RequiredFieldValidator.php
+++ b/tests/FunctionalTests/protected/pages/Validation/RequiredFieldValidator.php
@@ -2,7 +2,10 @@
class RequiredFieldValidator extends TPage
{
-
+ function onLoad($param)
+ {
+ Prado::log("Hello", TLogger::WARNING);
+ }
}
class RequiredFieldTestCase extends SeleniumTestCase