summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/quickstart/Controls/DataList1TestCase.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/FunctionalTests/quickstart/Controls/DataList1TestCase.php')
-rwxr-xr-xtests/FunctionalTests/quickstart/Controls/DataList1TestCase.php18
1 files changed, 9 insertions, 9 deletions
diff --git a/tests/FunctionalTests/quickstart/Controls/DataList1TestCase.php b/tests/FunctionalTests/quickstart/Controls/DataList1TestCase.php
index 436af2ad..10786e7d 100755
--- a/tests/FunctionalTests/quickstart/Controls/DataList1TestCase.php
+++ b/tests/FunctionalTests/quickstart/Controls/DataList1TestCase.php
@@ -7,15 +7,15 @@ class QuickstartDataList1TestCase extends PradoGenericSelenium2Test
$this->url("../../demos/quickstart/index.php?page=Controls.Samples.TDataList.Sample1&notheme=true&lang=en");
// verify if all required texts are present
- $this->assertContains('ITN001', $this->source());
- $this->assertContains('$100', $this->source());
- $this->assertContains('Motherboard', $this->source());
- $this->assertContains('ITN018', $this->source());
- $this->assertContains('Surge protector', $this->source());
- $this->assertContains('45', $this->source());
- $this->assertContains('$15', $this->source());
- $this->assertContains('Total 19 products.', $this->source());
- $this->assertContains('Computer Parts', $this->source());
+ $this->assertSourceContains('ITN001');
+ $this->assertSourceContains('$100');
+ $this->assertSourceContains('Motherboard');
+ $this->assertSourceContains('ITN018');
+ $this->assertSourceContains('Surge protector');
+ $this->assertSourceContains('45');
+ $this->assertSourceContains('$15');
+ $this->assertSourceContains('Total 19 products.');
+ $this->assertSourceContains('Computer Parts');
// verify specific table tags
$this->assertElementPresent("ctl0_body_DataList");