From 26363fd271557d0d51fad4ba3272cc56fa227686 Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Fri, 7 Aug 2015 14:57:32 +0200 Subject: use stable8.1 for travis --- .travis.yml | 2 +- tests/integration/db/ItemMapperTest.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 94a389c9b..7e6698f67 100644 --- a/.travis.yml +++ b/.travis.yml @@ -35,7 +35,7 @@ install: - sudo easy_install3 requests - sudo easy_install3 ocdev # clone core - - ocdev setup core --dir owncloud --branch master --no-history + - ocdev setup core --dir owncloud --branch stable8.1 --no-history - mv news owncloud/apps/ before_script: diff --git a/tests/integration/db/ItemMapperTest.php b/tests/integration/db/ItemMapperTest.php index 0c24660b3..dcd101a9f 100644 --- a/tests/integration/db/ItemMapperTest.php +++ b/tests/integration/db/ItemMapperTest.php @@ -8,7 +8,7 @@ * @author Bernhard Posselt * @copyright Bernhard Posselt 2015 */ - + namespace OCA\News\Db; use \OCA\News\Tests\Integration\NewsIntegrationTest; @@ -183,7 +183,7 @@ class ItemMapperTest extends NewsIntegrationTest { public function testDeleteUser () { $this->itemMapper->deleteUser($this->userId); - $id = $this->itemMapper->getNewestItemId(); + $id = $this->itemMapper->getNewestItemId($this->userId); $this->assertEquals(0, $id); } -- cgit v1.2.3