diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2012-05-03 13:01:35 +0200 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2012-05-03 13:01:35 +0200 |
commit | d9022f63880ce039446fba8364f68e656b7bf4cb (patch) | |
tree | 16b40fbf17bf7c9ee6f4ead25b16dd192378050a /tests/selenium/suites/SimpleSeleniumTestCase.php | |
parent | 27cf83d177256813e2e802241085fce5dd0f3fb9 (diff) |
Update to MediaWiki 1.19.0
Diffstat (limited to 'tests/selenium/suites/SimpleSeleniumTestCase.php')
-rw-r--r-- | tests/selenium/suites/SimpleSeleniumTestCase.php | 14 |
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' ); |