aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit
diff options
context:
space:
mode:
authorRicordisamoa <ricordisamoa@openmailbox.org>2014-12-12 08:41:27 +0000
committerRicordisamoa <ricordisamoa@openmailbox.org>2014-12-12 18:31:15 +0000
commitfc5fd5c37a5b31af2540c6cefd529b7f86ba4f9f (patch)
treedeb3147a10f7ba73c66f54a7dac05802d060740e /tests/phpunit
parent4394d6cf8a7913e90df119e32f67dd51b8f2ddcb (diff)
downloadmediawikicore-fc5fd5c37a5b31af2540c6cefd529b7f86ba4f9f.tar.gz
mediawikicore-fc5fd5c37a5b31af2540c6cefd529b7f86ba4f9f.zip
Typo fixes and non-code tweaks
Skipped replacements: * prefered → preferred * prolly → probably Skipped files: * resources/lib/jquery.ui/jquery.ui.mouse.js * resources/lib/jquery/jquery.form.js Change-Id: Ib7923f362ddfca1b892bf5d601785d6b5aa5d44c
Diffstat (limited to 'tests/phpunit')
-rw-r--r--tests/phpunit/Makefile2
-rw-r--r--tests/phpunit/MediaWikiTestCase.php2
-rw-r--r--tests/phpunit/includes/HtmlTest.php2
-rw-r--r--tests/phpunit/includes/UserTest.php2
-rw-r--r--tests/phpunit/includes/XmlSelectTest.php2
5 files changed, 5 insertions, 5 deletions
diff --git a/tests/phpunit/Makefile b/tests/phpunit/Makefile
index c3e2a3037505..3f4c6f93c912 100644
--- a/tests/phpunit/Makefile
+++ b/tests/phpunit/Makefile
@@ -83,7 +83,7 @@ help:
# You will need the Xdebug PHP extension for the later.
# [no]parser Skip or only run Parser tests
#
- # list-groups List availabe Tests groups.
+ # list-groups List available Tests groups.
#
# Options:
# CONFIG_FILE Path to a PHPUnit configuration file (default: suite.xml)
diff --git a/tests/phpunit/MediaWikiTestCase.php b/tests/phpunit/MediaWikiTestCase.php
index 2cd549ee3b9b..327c1daf6032 100644
--- a/tests/phpunit/MediaWikiTestCase.php
+++ b/tests/phpunit/MediaWikiTestCase.php
@@ -634,7 +634,7 @@ abstract class MediaWikiTestCase extends PHPUnit_Framework_TestCase {
if ( isset( $compatibility[$func] ) ) {
return call_user_func_array( array( $this, $compatibility[$func] ), $args );
} else {
- throw new MWException( "Called non-existant $func method on "
+ throw new MWException( "Called non-existent $func method on "
. get_class( $this ) );
}
}
diff --git a/tests/phpunit/includes/HtmlTest.php b/tests/phpunit/includes/HtmlTest.php
index a8829cd848db..992581b101ce 100644
--- a/tests/phpunit/includes/HtmlTest.php
+++ b/tests/phpunit/includes/HtmlTest.php
@@ -637,7 +637,7 @@ class HtmlTest extends MediaWikiTestCase {
. 'Depending on compatibility mode IE might use "button", instead.',
);
- # <select> specifc handling
+ # <select> specific handling
$cases[] = array( '<select multiple></select>',
'select', array( 'size' => '4', 'multiple' => true ),
);
diff --git a/tests/phpunit/includes/UserTest.php b/tests/phpunit/includes/UserTest.php
index f9ef3177e53d..8cc2a8e29e2d 100644
--- a/tests/phpunit/includes/UserTest.php
+++ b/tests/phpunit/includes/UserTest.php
@@ -342,7 +342,7 @@ class UserTest extends MediaWikiTestCase {
public static function provideGetCanonicalName() {
return array(
array( ' trailing space ', array( 'creatable' => 'Trailing space' ), 'Trailing spaces' ),
- // @todo FIXME: Maybe the createable name should be 'Talk:Username' or false to reject?
+ // @todo FIXME: Maybe the creatable name should be 'Talk:Username' or false to reject?
array( 'Talk:Username', array( 'creatable' => 'Username', 'usable' => 'Username',
'valid' => 'Username', 'false' => 'Talk:Username' ), 'Namespace prefix' ),
array( ' name with # hash', array( 'creatable' => false, 'usable' => false ), 'With hash' ),
diff --git a/tests/phpunit/includes/XmlSelectTest.php b/tests/phpunit/includes/XmlSelectTest.php
index 9f154bb75880..0e03add4df8e 100644
--- a/tests/phpunit/includes/XmlSelectTest.php
+++ b/tests/phpunit/includes/XmlSelectTest.php
@@ -166,7 +166,7 @@ class XmlSelectTest extends MediaWikiTestCase {
'razor'
);
- # inexistant keys should give us 'null'
+ # inexistent keys should give us 'null'
$this->assertEquals(
$this->select->getAttribute( 'I DO NOT EXIT' ),
null