Skip to content

Commit

Permalink
Fix TestcCase typo
Browse files Browse the repository at this point in the history
  • Loading branch information
phil-davis authored and sharidas committed Apr 12, 2019
1 parent 4af812b commit c7b1fd4
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions apps/encryption/tests/Command/FixEncryptedVersionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
namespace OCA\Encryption\Tests\Command;

use OC\Files\Cache\Cache;
use OC\Files\Filesystem;
use OC\Files\ObjectStore\ObjectStoreStorage;
use OC\Files\View;
use OCA\Encryption\AppInfo\Application;
Expand Down Expand Up @@ -96,6 +97,7 @@ public static function tearDownAfterClass() {
\OC::$server->getConfig()->deleteAppValue('core', 'encryption_enabled');
\OC::$server->getConfig()->deleteAppValue('core', 'default_encryption_module');
\OC::$server->getConfig()->deleteAppValues('encryption');
Filesystem::getLoader()->removeStorageWrapper("oc_encryption");
}

public function setUp() {
Expand Down Expand Up @@ -155,7 +157,7 @@ public function testEncryptedVersionZero() {
", $output);
/**
* We need to add ob_start at the end because if not done, it would be considered as a risky test.
* The reason is outputBufferingLevel in phpunit/src/Framework/TestcCase.php is found to be 1
* The reason is outputBufferingLevel in phpunit/src/Framework/TestCase.php is found to be 1
* where as the ob_get_level is found to be zero.
*/
\ob_start();
Expand Down Expand Up @@ -230,7 +232,7 @@ public function testEncryptedVersionLessThanOriginalValue() {
", $output);
/**
* We need to add ob_start at the end because if not done, it would be considered as a risky test.
* The reason is outputBufferingLevel in phpunit/src/Framework/TestcCase.php is found to be 1
* The reason is outputBufferingLevel in phpunit/src/Framework/TestCase.php is found to be 1
* where as the ob_get_level is found to be zero.
*/
\ob_start();
Expand Down Expand Up @@ -306,7 +308,7 @@ public function testEncryptedVersionGreaterThanOriginalValue() {
", $output);
/**
* We need to add ob_start at the end because if not done, it would be considered as a risky test.
* The reason is outputBufferingLevel in phpunit/src/Framework/TestcCase.php is found to be 1
* The reason is outputBufferingLevel in phpunit/src/Framework/TestCase.php is found to be 1
* where as the ob_get_level is found to be zero.
*/
\ob_start();
Expand Down

0 comments on commit c7b1fd4

Please sign in to comment.