Skip to content

Commit

Permalink
Merge pull request #90 from owncloud/update-travis-core-branch
Browse files Browse the repository at this point in the history
Update the env.global.CORE_BRANCH setting in .travis.yml
  • Loading branch information
VicDeo committed Mar 4, 2016
2 parents 168d12d + ca6a458 commit 88bb39c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ php:

env:
global:
- CORE_BRANCH=master
- CORE_BRANCH=stable9
- APP_NAME=files_antivirus
matrix:
- DB=sqlite
Expand Down
2 changes: 1 addition & 1 deletion tests/cron/tasktest.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public function setUp(){
$results = $userManager->search('', 1, 0);

if (!count($results)) {
\OC_User::createUser('test', 'test');
\OC::$server->getUserManager()->createUser('test', 'test');
}
$this->scannerFactory = new ScannerFactory(
$this->config,
Expand Down
2 changes: 1 addition & 1 deletion tests/itemtest.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public function setUp() {
\OC\Files\Filesystem::clearMounts();

//login
\OC_User::createUser('test', 'test');
\OC::$server->getUserManager()->createUser('test', 'test');
\OC::$server->getSession()->set('user_id', 'test');

$this->storage = new \OC\Files\Storage\Temporary(array());
Expand Down
2 changes: 1 addition & 1 deletion tests/scannertest.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public function setUp() {
$results = $userManager->search('', 1, 0);

if (!count($results)) {
\OC_User::createUser('test', 'test');
\OC::$server->getUserManager()->createUser('test', 'test');
}
$this->scannerFactory = new ScannerFactory(
$this->config,
Expand Down

0 comments on commit 88bb39c

Please sign in to comment.