summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2015-08-07 14:57:32 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2015-08-07 14:57:32 +0200
commit26363fd271557d0d51fad4ba3272cc56fa227686 (patch)
tree11bb62ae66539fd0903a80260197b54a311212fd
parentd347b82fccb89a2abf0efca684ede9605f41d2f1 (diff)
use stable8.1 for travis
-rw-r--r--.travis.yml2
-rw-r--r--tests/integration/db/ItemMapperTest.php4
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 <dev@bernhard-posselt.com>
* @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);
}