diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/RUNNING_TESTS.md | 2 | ||||
-rw-r--r-- | tests/extension/finder_test.php | 2 | ||||
-rw-r--r-- | tests/log/function_view_log_test.php | 2 | ||||
-rw-r--r-- | tests/mock/session_testable.php | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/tests/RUNNING_TESTS.md b/tests/RUNNING_TESTS.md index 12ae7fa687..56f2818078 100644 --- a/tests/RUNNING_TESTS.md +++ b/tests/RUNNING_TESTS.md @@ -52,7 +52,7 @@ By default all tests requiring a database connection will use sqlite. If you do not have sqlite installed the tests will be skipped. If you wish to run the tests on a different database you have to create a test_config.php file within your tests directory following the same format as phpBB's config.php. Testing -makes use of a seperate database defined in this config file and before running +makes use of a separate database defined in this config file and before running the tests each time this database is deleted. An example for mysqli can be found below. More information on configuration options can be found on the wiki (see below). diff --git a/tests/extension/finder_test.php b/tests/extension/finder_test.php index 71de2c2fc5..967876b9ae 100644 --- a/tests/extension/finder_test.php +++ b/tests/extension/finder_test.php @@ -239,7 +239,7 @@ class phpbb_extension_finder_test extends phpbb_test_case /** * These do not work because of changes with PHPBB3-11386 - * They do not seem neccessary to me, so I am commenting them out for now + * They do not seem necessary to me, so I am commenting them out for now public function test_get_classes_create_cache() { $cache = new phpbb_mock_cache; diff --git a/tests/log/function_view_log_test.php b/tests/log/function_view_log_test.php index 1f9717203c..c26644088e 100644 --- a/tests/log/function_view_log_test.php +++ b/tests/log/function_view_log_test.php @@ -274,7 +274,7 @@ class phpbb_log_function_view_log_test extends phpbb_database_test_case // Offset that will be returned from the function 'expected_returned' => 0, // view_log parameters (see includes/functions_admin.php for docblock) - // $log is ommited! + // $log is omitted! 'mod', 5, 0, 12, 45, ), */ diff --git a/tests/mock/session_testable.php b/tests/mock/session_testable.php index 2f24978ba8..5a57eecf61 100644 --- a/tests/mock/session_testable.php +++ b/tests/mock/session_testable.php @@ -33,7 +33,7 @@ class phpbb_mock_session_testable extends \phpbb\session * @param PHPUnit_Framework_Assert test The test from which this is called * @param array(string => mixed) cookies The cookie data to check against. * The keys are cookie names, the values can either be null to - * check only the existance of the cookie, or an array(d, t), + * check only the existence of the cookie, or an array(d, t), * where d is the cookie data to check, or null to skip the * check and t is the cookie time to check, or null to skip. */ |