diff --git a/tests/data/openssl.cnf b/tests/data/openssl.cnf index 1eb86c40126308376e1c6e816d4988badd369fb8..1aada1fa73f88a369a24290e890b6f12f5ef12a8 100644 --- a/tests/data/openssl.cnf +++ b/tests/data/openssl.cnf @@ -55,7 +55,7 @@ crl = $dir/crl.pem # The current CRL private_key = $dir/private/cakey.pem# The private key RANDFILE = $dir/private/.rand # private random number file -x509_extensions = usr_cert # The extentions to add to the cert +x509_extensions = usr_cert # The extensions to add to the cert # Comment out the following two lines for the "traditional" # (and highly broken) format. @@ -107,7 +107,7 @@ default_bits = 2048 default_keyfile = privkey.pem distinguished_name = req_distinguished_name attributes = req_attributes -x509_extensions = v3_ca # The extentions to add to the self signed cert +x509_extensions = v3_ca # The extensions to add to the self signed cert # Passwords for private keys if not present they will be prompted for # input_password = secret diff --git a/tests/lib/cache.php b/tests/lib/cache.php index feddcac4693d8819615ba9998010bd57aedebbf4..a91f37467d2f56298f5978dd2c215933b43b9c8e 100644 --- a/tests/lib/cache.php +++ b/tests/lib/cache.php @@ -28,7 +28,7 @@ abstract class Test_Cache extends \Test\TestCase { $this->instance->set('value1', $value); $this->assertTrue($this->instance->hasKey('value1')); $received=$this->instance->get('value1'); - $this->assertEquals($value, $received, 'Value recieved from cache not equal to the original'); + $this->assertEquals($value, $received, 'Value received from cache not equal to the original'); $value='ipsum lorum'; $this->instance->set('value1', $value); $received=$this->instance->get('value1'); diff --git a/tests/lib/datetimeformatter.php b/tests/lib/datetimeformatter.php index 9a50ee4a257307ed03c3618d68a5e9bb880b06cc..bf1ef3b84dc644a15356f7c55a3d35f88cd710c3 100644 --- a/tests/lib/datetimeformatter.php +++ b/tests/lib/datetimeformatter.php @@ -42,7 +42,7 @@ class DateTimeFormatter extends TestCase { } public function formatTimeSpanData() { - $time = 1416916800; // Use a fixed timestamp so we dont switch days/years with the getTimestampAgo + $time = 1416916800; // Use a fixed timestamp so we don't switch days/years with the getTimestampAgo $deL10N = new \OC_L10N('lib', 'de'); return array( array('seconds ago', $time, $time), @@ -80,7 +80,7 @@ class DateTimeFormatter extends TestCase { } public function formatDateSpanData() { - $time = 1416916800; // Use a fixed timestamp so we dont switch days/years with the getTimestampAgo + $time = 1416916800; // Use a fixed timestamp so we don't switch days/years with the getTimestampAgo $deL10N = new \OC_L10N('lib', 'de'); return array( // Normal testing diff --git a/tests/lib/db/connection.php b/tests/lib/db/connection.php index 62d0a77ca1fe7a66dc4d4a3f11fa35082e58dc12..4022bee511e0aa9bf1f916d559d43ad90bf5e471 100644 --- a/tests/lib/db/connection.php +++ b/tests/lib/db/connection.php @@ -72,7 +72,7 @@ class Connection extends \Test\TestCase { // sqlite removes the tables after closing the DB $this->assertTrue(true); } else { - $this->assertFalse($this->connection->tableExists($table), 'Table ' . $table . ' doesnt exists.'); + $this->assertFalse($this->connection->tableExists($table), 'Table ' . $table . " doesn't exist."); } } diff --git a/tests/lib/files/storage/storage.php b/tests/lib/files/storage/storage.php index f3d265df2de71b60bb49946f0a6065ba0ece1b64..ed2ea87f9d96cca0f7cd9c4679bef6096be249f0 100644 --- a/tests/lib/files/storage/storage.php +++ b/tests/lib/files/storage/storage.php @@ -87,13 +87,13 @@ abstract class Storage extends \Test\TestCase { } $this->assertEquals(array($directory), $content); - $this->assertFalse($this->instance->mkdir('/' . $directory)); //cant create existing folders + $this->assertFalse($this->instance->mkdir('/' . $directory)); //can't create existing folders $this->assertTrue($this->instance->rmdir('/' . $directory)); $this->wait(); $this->assertFalse($this->instance->file_exists('/' . $directory)); - $this->assertFalse($this->instance->rmdir('/' . $directory)); //cant remove non existing folders + $this->assertFalse($this->instance->rmdir('/' . $directory)); //can't remove non existing folders $dh = $this->instance->opendir('/'); $content = array(); diff --git a/tests/lib/hookhelper.php b/tests/lib/hookhelper.php index 93411bd068b30eb97bde301e015eb5525cf94b1f..f1cce831477b86e9d1d0716340ad9f9c145b8016 100644 --- a/tests/lib/hookhelper.php +++ b/tests/lib/hookhelper.php @@ -104,7 +104,7 @@ class HookHelper { } /** - * Callback that sets the run paramter to false + * Callback that sets the run parameter to false */ public static function cancellingCallback($params) { $params[Filesystem::signal_param_run] = false; diff --git a/tests/lib/systemtag/systemtagmanagertest.php b/tests/lib/systemtag/systemtagmanagertest.php index 64220205ade928d9268db1245beeddbf5e1be29d..1afb147f08acc3577c55fb7d10fb646309ce0549 100644 --- a/tests/lib/systemtag/systemtagmanagertest.php +++ b/tests/lib/systemtag/systemtagmanagertest.php @@ -124,7 +124,7 @@ class SystemTagManagerTest extends TestCase { null, [] ], - // filter by visibile only + // filter by visible only [ // none visible [ diff --git a/tests/lib/testcase.php b/tests/lib/testcase.php index 008b96b3417100b6300013f6984cdd3b938ff456..fb0db8cd86c00fb9ad165aa5fdca195716fabbde 100644 --- a/tests/lib/testcase.php +++ b/tests/lib/testcase.php @@ -349,7 +349,7 @@ abstract class TestCase extends \PHPUnit_Framework_TestCase { $user = null; } - \OC_Util::tearDownFS(); // command cant reply on the fs being setup + \OC_Util::tearDownFS(); // command can't reply on the fs being setup $this->commandBus->run(); \OC_Util::tearDownFS();