Move files_versions to PSR-4 (#24571)

This commit is contained in:
Joas Schilling 2016-05-12 09:49:15 +02:00 committed by Thomas Müller
parent d5dee80580
commit b57f3126eb
13 changed files with 5 additions and 2 deletions

View File

@ -13,6 +13,7 @@ In addition to the expiry of versions, ownClouds versions app makes certain n
<types>
<filesystem/>
</types>
<namespace>Files_Versions</namespace>
<dependencies>
<owncloud min-version="9.1" max-version="9.1" />
</dependencies>

View File

@ -24,7 +24,7 @@ namespace OCA\Files_Versions\Tests;
use \OCA\Files_Versions\Expiration;
class Expiration_Test extends \Test\TestCase {
class ExpirationTest extends \Test\TestCase {
const SECONDS_PER_DAY = 86400; //60*60*24
public function expirationData(){

View File

@ -29,6 +29,8 @@
*
*/
namespace OCA\Files_Versions\Tests;
require_once __DIR__ . '/../appinfo/app.php';
use OC\Files\Storage\Temporary;
@ -39,7 +41,7 @@ use OC\Files\Storage\Temporary;
*
* @group DB
*/
class Test_Files_Versioning extends \Test\TestCase {
class VersioningTest extends \Test\TestCase {
const TEST_VERSIONS_USER = 'test-versions-user';
const TEST_VERSIONS_USER2 = 'test-versions-user2';