Skip to content

Commit

Permalink
Dont create users in the database
Browse files Browse the repository at this point in the history
  • Loading branch information
icewind1991 committed Nov 25, 2014
1 parent f01e6d7 commit c6a85dd
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions apps/files_versions/tests/versions.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,10 @@ public static function setUpBeforeClass() {
\OCA\Files_Versions\Hooks::connectHooks();
\OCP\Util::connectHook('OC_Filesystem', 'setup', '\OC\Files\Storage\Shared', 'setup');

// create test user
self::loginHelper(self::TEST_VERSIONS_USER2, true);
self::loginHelper(self::TEST_VERSIONS_USER, true);
$backend = new OC_User_Dummy();
\OC_User::useBackend($backend);
$backend->createUser(self::TEST_VERSIONS_USER, self::TEST_VERSIONS_USER);
$backend->createUser(self::TEST_VERSIONS_USER2, self::TEST_VERSIONS_USER2);
}

public static function tearDownAfterClass() {
Expand Down

0 comments on commit c6a85dd

Please sign in to comment.