summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/quickstart/Controls/LabelTestCase.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/FunctionalTests/quickstart/Controls/LabelTestCase.php')
-rwxr-xr-xtests/FunctionalTests/quickstart/Controls/LabelTestCase.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/FunctionalTests/quickstart/Controls/LabelTestCase.php b/tests/FunctionalTests/quickstart/Controls/LabelTestCase.php
index a9aa0bbe..f23ba586 100755
--- a/tests/FunctionalTests/quickstart/Controls/LabelTestCase.php
+++ b/tests/FunctionalTests/quickstart/Controls/LabelTestCase.php
@@ -7,10 +7,10 @@ class QuickstartLabelTestCase extends PradoGenericSelenium2Test
{
$this->url("../../demos/quickstart/index.php?page=Controls.Samples.TLabel.Home&notheme=true&lang=en");
$this->assertEquals("PRADO QuickStart Sample", $this->title());
- $this->assertContains("This is a label with customized color and font.", $this->source());
- $this->assertContains("This is a form label associated with the TTextBox control below", $this->source());
- $this->assertContains("This is a label with empty Text property and <b>nonempty body</b>", $this->source());
- $this->assertContains("This is a disabled label", $this->source());
+ $this->assertSourceContains("This is a label with customized color and font.");
+ $this->assertSourceContains("This is a form label associated with the TTextBox control below");
+ $this->assertSourceContains("This is a label with empty Text property and <b>nonempty body</b>");
+ $this->assertSourceContains("This is a disabled label");
$this->assertAttribute("ctl0_body_Label2@disabled","regexp:true|disabled");