diff --git a/.travis.yml b/.travis.yml index 7a4b682f8..5fff13319 100644 --- a/.travis.yml +++ b/.travis.yml @@ -46,6 +46,7 @@ before_script: - cd owncloud - ocdev ci $DB - php -f console.php app:enable news + - curl http://admin:admin@localhost/owncloud/index.php - cd apps/news/js # install test deps - npm install --deps # npm install needs to run before sudo npm install because otherwise it fails because a tmp file exists in the home dir diff --git a/tests/integration/db/ItemMapperTest.php b/tests/integration/db/ItemMapperTest.php index 5e6452398..f0bac5ced 100644 --- a/tests/integration/db/ItemMapperTest.php +++ b/tests/integration/db/ItemMapperTest.php @@ -66,6 +66,7 @@ class ItemMapperTest extends NewsIntegrationTest { public function testDeleteOlderThanThresholdTwo() { $this->deleteReadOlderThanThreshold(); + $this->setExpectedException( 'OCP\AppFramework\Db\DoesNotExistException'); $this->itemMapper->find($this->items['del2']->getId(), $this->userId);