summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-11-06 15:58:20 +0100
committerBernhard Posselt <dev@bernhard-posselt.com>2014-11-06 15:58:20 +0100
commit5c70396a43c5553539fbf1258b57b562edb703fe (patch)
tree19c264a7f4439e38da1693d8722883b8f05402ea
parenta600f6b718ab81efeda1fce68e5f817c3f23504a (diff)
curl installation to test if it is set up
-rw-r--r--.travis.yml1
-rw-r--r--tests/integration/db/ItemMapperTest.php1
2 files changed, 2 insertions, 0 deletions
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);