summaryrefslogtreecommitdiff
path: root/tests/selenium/suites/SimpleSeleniumTestCase.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/selenium/suites/SimpleSeleniumTestCase.php')
-rw-r--r--tests/selenium/suites/SimpleSeleniumTestCase.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/selenium/suites/SimpleSeleniumTestCase.php b/tests/selenium/suites/SimpleSeleniumTestCase.php
index 99a75c12..b87172e6 100644
--- a/tests/selenium/suites/SimpleSeleniumTestCase.php
+++ b/tests/selenium/suites/SimpleSeleniumTestCase.php
@@ -1,11 +1,11 @@
<?php
-/*
+/*
* This test case is part of the SimpleSeleniumTestSuite.
* Configuration for these tests are documented as part of SimpleSeleniumTestSuite.php
*/
class SimpleSeleniumTestCase extends SeleniumTestCase {
public function testBasic() {
- $this->open( $this->getUrl() .
+ $this->open( $this->getUrl() .
'/index.php?title=Selenium&action=edit' );
$this->type( "wpTextbox1", "This is a basic test" );
$this->click( "wpPreview" );
@@ -16,8 +16,8 @@ class SimpleSeleniumTestCase extends SeleniumTestCase {
$correct = strstr( $source, "This is a basic test" );
$this->assertEquals( $correct, true );
}
-
- /*
+
+ /**
* All this test really does is verify that a global var was set.
* It depends on $wgDefaultSkin = 'chick'; being set
*/
@@ -26,9 +26,9 @@ class SimpleSeleniumTestCase extends SeleniumTestCase {
$bodyClass = $this->getAttribute( "//body/@class" );
$this-> assertContains('skin-chick', $bodyClass, 'Chick skin not set');
}
-
- /*
- * Just verify that the test db was loaded correctly
+
+ /**
+ * Just verify that the test db was loaded correctly
*/
public function testDatabaseResourceLoadedCorrectly() {
$this->open( $this->getUrl() . '/index.php/TestResources?action=purge' );